Interface KafkaClusterDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KafkaClusterDescription.Builder,
,KafkaClusterDescription> SdkBuilder<KafkaClusterDescription.Builder,
,KafkaClusterDescription> SdkPojo
- Enclosing class:
KafkaClusterDescription
public static interface KafkaClusterDescription.Builder
extends SdkPojo, CopyableBuilder<KafkaClusterDescription.Builder,KafkaClusterDescription>
-
Method Summary
Modifier and TypeMethodDescriptiondefault KafkaClusterDescription.Builder
amazonMskCluster
(Consumer<AmazonMskCluster.Builder> amazonMskCluster) Details of an Amazon MSK Cluster.amazonMskCluster
(AmazonMskCluster amazonMskCluster) Details of an Amazon MSK Cluster.kafkaClusterAlias
(String kafkaClusterAlias) The alias of the Kafka cluster.default KafkaClusterDescription.Builder
vpcConfig
(Consumer<KafkaClusterClientVpcConfig.Builder> vpcConfig) Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.vpcConfig
(KafkaClusterClientVpcConfig vpcConfig) Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
amazonMskCluster
Details of an Amazon MSK Cluster.
- Parameters:
amazonMskCluster
- Details of an Amazon MSK Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amazonMskCluster
default KafkaClusterDescription.Builder amazonMskCluster(Consumer<AmazonMskCluster.Builder> amazonMskCluster) Details of an Amazon MSK Cluster.
This is a convenience method that creates an instance of theAmazonMskCluster.Builder
avoiding the need to create one manually viaAmazonMskCluster.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toamazonMskCluster(AmazonMskCluster)
.- Parameters:
amazonMskCluster
- a consumer that will call methods onAmazonMskCluster.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kafkaClusterAlias
The alias of the Kafka cluster. Used to prefix names of replicated topics.
- Parameters:
kafkaClusterAlias
- The alias of the Kafka cluster. Used to prefix names of replicated topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- Parameters:
vpcConfig
- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default KafkaClusterDescription.Builder vpcConfig(Consumer<KafkaClusterClientVpcConfig.Builder> vpcConfig) Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
This is a convenience method that creates an instance of theKafkaClusterClientVpcConfig.Builder
avoiding the need to create one manually viaKafkaClusterClientVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(KafkaClusterClientVpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onKafkaClusterClientVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-