Interface ApacheKafkaCluster.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApacheKafkaCluster.Builder,,ApacheKafkaCluster> SdkBuilder<ApacheKafkaCluster.Builder,,ApacheKafkaCluster> SdkPojo
- Enclosing class:
ApacheKafkaCluster
public static interface ApacheKafkaCluster.Builder
extends SdkPojo, CopyableBuilder<ApacheKafkaCluster.Builder,ApacheKafkaCluster>
-
Method Summary
Modifier and TypeMethodDescriptionbootstrapServers(String bootstrapServers) The bootstrap servers of the cluster.default ApacheKafkaCluster.Buildervpc(Consumer<Vpc.Builder> vpc) Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bootstrapServers
The bootstrap servers of the cluster.
- Parameters:
bootstrapServers- The bootstrap servers of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- Parameters:
vpc- 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.
-
vpc
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
This is a convenience method that creates an instance of theVpc.Builderavoiding the need to create one manually viaVpc.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpc(Vpc).- Parameters:
vpc- a consumer that will call methods onVpc.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-