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
Modifier and TypeMethodDescriptionbootstrapServers
(String bootstrapServers) The bootstrap servers of the cluster.Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.vpc
(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, 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 theVpcDescription.Builder
avoiding the need to create one manually viaVpcDescription.builder()
.When the
Consumer
completes,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:
-