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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ApacheKafkaCluster.BuilderbootstrapServers(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.ApacheKafkaCluster.Buildervpc(Vpc vpc)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
bootstrapServers
ApacheKafkaCluster.Builder bootstrapServers(String 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
ApacheKafkaCluster.Builder vpc(Vpc 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
default ApacheKafkaCluster.Builder vpc(Consumer<Vpc.Builder> 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:
vpc(Vpc)
-
-