Interface ApacheKafkaClusterDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ApacheKafkaClusterDescription.Builder,ApacheKafkaClusterDescription>,SdkBuilder<ApacheKafkaClusterDescription.Builder,ApacheKafkaClusterDescription>,SdkPojo
- Enclosing class:
- ApacheKafkaClusterDescription
public static interface ApacheKafkaClusterDescription.Builder extends SdkPojo, CopyableBuilder<ApacheKafkaClusterDescription.Builder,ApacheKafkaClusterDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ApacheKafkaClusterDescription.BuilderbootstrapServers(String bootstrapServers)The bootstrap servers of the cluster.default ApacheKafkaClusterDescription.Buildervpc(Consumer<VpcDescription.Builder> vpc)Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.ApacheKafkaClusterDescription.Buildervpc(VpcDescription 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
ApacheKafkaClusterDescription.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
ApacheKafkaClusterDescription.Builder vpc(VpcDescription 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 ApacheKafkaClusterDescription.Builder vpc(Consumer<VpcDescription.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 theVpcDescription.Builderavoiding the need to create one manually viaVpcDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpc(VpcDescription).- Parameters:
vpc- a consumer that will call methods onVpcDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpc(VpcDescription)
-
-