Class KafkaCluster.Builder
- java.lang.Object
- 
- com.oracle.bmc.managedkafka.model.KafkaCluster.Builder
 
- 
- Enclosing class:
- KafkaCluster
 
 public static class KafkaCluster.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaCluster.BuilderaccessSubnets(List<SubnetSet> accessSubnets)Subnets where broker/coordinator VNICs will be created.KafkaCluster.BuilderbrokerShape(BrokerShape brokerShape)KafkaClusterbuild()KafkaCluster.BuilderclientCertificateBundle(String clientCertificateBundle)CA certificate bundle for mTLS broker authentication.KafkaCluster.BuilderclusterConfigId(String clusterConfigId)The OCID of Kafka Cluster configuration objectKafkaCluster.BuilderclusterConfigVersion(Integer clusterConfigVersion)The version of configuration objectKafkaCluster.BuilderclusterType(KafkaCluster.ClusterType clusterType)Type of the cluster to spin up.KafkaCluster.BuildercompartmentId(String compartmentId)The OCID of the compartment.KafkaCluster.BuildercoordinationType(KafkaCluster.CoordinationType coordinationType)Kafka coordination type.KafkaCluster.Buildercopy(KafkaCluster model)KafkaCluster.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.KafkaCluster.BuilderdisplayName(String displayName)A user-friendly name.KafkaCluster.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.KafkaCluster.Builderid(String id)The OCID of the KafkaCluster.KafkaCluster.BuilderkafkaBootstrapUrls(List<BootstrapUrl> kafkaBootstrapUrls)Bootstrap URL that can be used to connect to KafkaKafkaCluster.BuilderkafkaVersion(String kafkaVersion)Version of Kafka to use to spin up the clusterKafkaCluster.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the KafkaCluster in more detail.KafkaCluster.BuilderlifecycleState(KafkaCluster.LifecycleState lifecycleState)The current state of the KafkaCluster.KafkaCluster.BuildersecretId(String secretId)The OCID of the secret that contains superuser password.KafkaCluster.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.KafkaCluster.BuildertimeCreated(Date timeCreated)The date and time the KafkaCluster was created, in the format defined by RFC 3339.KafkaCluster.BuildertimeUpdated(Date timeUpdated)The date and time the KafkaCluster was updated, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic KafkaCluster.Builder id(String id) The OCID of the KafkaCluster.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic KafkaCluster.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic KafkaCluster.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic KafkaCluster.Builder timeCreated(Date timeCreated) The date and time the KafkaCluster was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic KafkaCluster.Builder timeUpdated(Date timeUpdated) The date and time the KafkaCluster was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic KafkaCluster.Builder lifecycleState(KafkaCluster.LifecycleState lifecycleState) The current state of the KafkaCluster.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic KafkaCluster.Builder lifecycleDetails(String lifecycleDetails) A message that describes the current state of the KafkaCluster in more detail.For example, can be used to provide actionable information for a resource in the Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
accessSubnetspublic KafkaCluster.Builder accessSubnets(List<SubnetSet> accessSubnets) Subnets where broker/coordinator VNICs will be created.- Parameters:
- accessSubnets- the value to set
- Returns:
- this builder
 
 - 
clientCertificateBundlepublic KafkaCluster.Builder clientCertificateBundle(String clientCertificateBundle) CA certificate bundle for mTLS broker authentication.- Parameters:
- clientCertificateBundle- the value to set
- Returns:
- this builder
 
 - 
kafkaVersionpublic KafkaCluster.Builder kafkaVersion(String kafkaVersion) Version of Kafka to use to spin up the cluster- Parameters:
- kafkaVersion- the value to set
- Returns:
- this builder
 
 - 
clusterTypepublic KafkaCluster.Builder clusterType(KafkaCluster.ClusterType clusterType) Type of the cluster to spin up.DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on a single node PRODUCTION - Minimum allowed broker count is 3 - Parameters:
- clusterType- the value to set
- Returns:
- this builder
 
 - 
brokerShapepublic KafkaCluster.Builder brokerShape(BrokerShape brokerShape) 
 - 
clusterConfigIdpublic KafkaCluster.Builder clusterConfigId(String clusterConfigId) The OCID of Kafka Cluster configuration object- Parameters:
- clusterConfigId- the value to set
- Returns:
- this builder
 
 - 
clusterConfigVersionpublic KafkaCluster.Builder clusterConfigVersion(Integer clusterConfigVersion) The version of configuration object- Parameters:
- clusterConfigVersion- the value to set
- Returns:
- this builder
 
 - 
kafkaBootstrapUrlspublic KafkaCluster.Builder kafkaBootstrapUrls(List<BootstrapUrl> kafkaBootstrapUrls) Bootstrap URL that can be used to connect to Kafka- Parameters:
- kafkaBootstrapUrls- the value to set
- Returns:
- this builder
 
 - 
coordinationTypepublic KafkaCluster.Builder coordinationType(KafkaCluster.CoordinationType coordinationType) Kafka coordination type.Set of available types depends on Kafka version - Parameters:
- coordinationType- the value to set
- Returns:
- this builder
 
 - 
secretIdpublic KafkaCluster.Builder secretId(String secretId) The OCID of the secret that contains superuser password.- Parameters:
- secretId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic KafkaCluster.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic KafkaCluster.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
 
 - 
systemTagspublic KafkaCluster.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic KafkaCluster build() 
 - 
copypublic KafkaCluster.Builder copy(KafkaCluster model) 
 
- 
 
-