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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateStreamPoolDetails
build()
CreateStreamPoolDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the stream.CreateStreamPoolDetails.Builder
copy(CreateStreamPoolDetails model)
CreateStreamPoolDetails.Builder
customEncryptionKeyDetails(CustomEncryptionKeyDetails customEncryptionKeyDetails)
CreateStreamPoolDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateStreamPoolDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CreateStreamPoolDetails.Builder
kafkaSettings(KafkaSettings kafkaSettings)
CreateStreamPoolDetails.Builder
name(String name)
The name of the stream pool.CreateStreamPoolDetails.Builder
privateEndpointDetails(PrivateEndpointDetails privateEndpointDetails)
-
-
-
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
-
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)
-
-