Package com.oracle.bmc.streaming.model
Class CreateStreamPoolDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.streaming.model.CreateStreamPoolDetails.Builder
-
- Enclosing class:
- CreateStreamPoolDetails
public static class CreateStreamPoolDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateStreamPoolDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the stream.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
name
public CreateStreamPoolDetails.Builder name(String name)
The name of the stream pool.Avoid entering confidential information.
Example: MyStreamPool
- Parameters:
name
- the value to set- Returns:
- this builder
-
kafkaSettings
public CreateStreamPoolDetails.Builder kafkaSettings(KafkaSettings kafkaSettings)
-
customEncryptionKeyDetails
public CreateStreamPoolDetails.Builder customEncryptionKeyDetails(CustomEncryptionKeyDetails customEncryptionKeyDetails)
-
privateEndpointDetails
public CreateStreamPoolDetails.Builder privateEndpointDetails(PrivateEndpointDetails privateEndpointDetails)
-
freeformTags
public CreateStreamPoolDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair that is applied with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
securityAttributes
public CreateStreamPoolDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}
- Parameters:
securityAttributes
- the value to set- Returns:
- this builder
-
definedTags
public CreateStreamPoolDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateStreamPoolDetails build()
-
copy
public CreateStreamPoolDetails.Builder copy(CreateStreamPoolDetails model)
-
-