public static interface BrokerNodeGroupInfo.Builder extends SdkPojo, CopyableBuilder<BrokerNodeGroupInfo.Builder,BrokerNodeGroupInfo>
Modifier and Type | Method and Description |
---|---|
BrokerNodeGroupInfo.Builder |
brokerAZDistribution(BrokerAZDistribution brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
|
BrokerNodeGroupInfo.Builder |
brokerAZDistribution(String brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
|
BrokerNodeGroupInfo.Builder |
clientSubnets(Collection<String> clientSubnets)
The list of subnets to connect to in the client virtual private cloud (VPC).
|
BrokerNodeGroupInfo.Builder |
clientSubnets(String... clientSubnets)
The list of subnets to connect to in the client virtual private cloud (VPC).
|
BrokerNodeGroupInfo.Builder |
instanceType(String instanceType)
The type of Amazon EC2 instances to use for Kafka brokers.
|
BrokerNodeGroupInfo.Builder |
securityGroups(Collection<String> securityGroups)
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect
to and communicate with the Amazon MSK cluster.
|
BrokerNodeGroupInfo.Builder |
securityGroups(String... securityGroups)
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect
to and communicate with the Amazon MSK cluster.
|
default BrokerNodeGroupInfo.Builder |
storageInfo(Consumer<StorageInfo.Builder> storageInfo)
Contains information about storage volumes attached to MSK broker nodes.
|
BrokerNodeGroupInfo.Builder |
storageInfo(StorageInfo storageInfo)
Contains information about storage volumes attached to MSK broker nodes.
|
copy
applyMutation, build
BrokerNodeGroupInfo.Builder brokerAZDistribution(String brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
brokerAZDistribution
- The distribution of broker nodes across Availability Zones.BrokerAZDistribution
,
BrokerAZDistribution
BrokerNodeGroupInfo.Builder brokerAZDistribution(BrokerAZDistribution brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
brokerAZDistribution
- The distribution of broker nodes across Availability Zones.BrokerAZDistribution
,
BrokerAZDistribution
BrokerNodeGroupInfo.Builder clientSubnets(Collection<String> clientSubnets)
The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't be in Availability Zone us-east-1e.
clientSubnets
- The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic
network interfaces inside these subnets. Client applications use elastic network interfaces to produce
and consume data. Client subnets can't be in Availability Zone us-east-1e.BrokerNodeGroupInfo.Builder clientSubnets(String... clientSubnets)
The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't be in Availability Zone us-east-1e.
clientSubnets
- The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic
network interfaces inside these subnets. Client applications use elastic network interfaces to produce
and consume data. Client subnets can't be in Availability Zone us-east-1e.BrokerNodeGroupInfo.Builder instanceType(String instanceType)
The type of Amazon EC2 instances to use for Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
instanceType
- The type of Amazon EC2 instances to use for Kafka brokers. The following instance types are allowed:
kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and
kafka.m5.24xlarge.BrokerNodeGroupInfo.Builder securityGroups(Collection<String> securityGroups)
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster.
securityGroups
- The AWS security groups to associate with the elastic network interfaces in order to specify who can
connect to and communicate with the Amazon MSK cluster.BrokerNodeGroupInfo.Builder securityGroups(String... securityGroups)
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster.
securityGroups
- The AWS security groups to associate with the elastic network interfaces in order to specify who can
connect to and communicate with the Amazon MSK cluster.BrokerNodeGroupInfo.Builder storageInfo(StorageInfo storageInfo)
Contains information about storage volumes attached to MSK broker nodes.
storageInfo
- Contains information about storage volumes attached to MSK broker nodes.default BrokerNodeGroupInfo.Builder storageInfo(Consumer<StorageInfo.Builder> storageInfo)
Contains information about storage volumes attached to MSK broker nodes.
This is a convenience that creates an instance of theStorageInfo.Builder
avoiding the need to create
one manually via StorageInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to storageInfo(StorageInfo)
.storageInfo
- a consumer that will call methods on StorageInfo.Builder
storageInfo(StorageInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.