Interface KafkaCluster.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KafkaCluster.Builder,
,KafkaCluster> SdkBuilder<KafkaCluster.Builder,
,KafkaCluster> SdkPojo
- Enclosing class:
KafkaCluster
public static interface KafkaCluster.Builder
extends SdkPojo, CopyableBuilder<KafkaCluster.Builder,KafkaCluster>
-
Method Summary
Modifier and TypeMethodDescriptiondefault KafkaCluster.Builder
amazonMskCluster
(Consumer<AmazonMskCluster.Builder> amazonMskCluster) Details of an Amazon MSK Cluster.amazonMskCluster
(AmazonMskCluster amazonMskCluster) Details of an Amazon MSK Cluster.default KafkaCluster.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
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:
-
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
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:
-