@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BrokerNodeGroupInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes the setup to be used for Kafka broker nodes in the cluster.
Constructor and Description |
---|
BrokerNodeGroupInfo() |
Modifier and Type | Method and Description |
---|---|
BrokerNodeGroupInfo |
clone() |
boolean |
equals(Object obj) |
String |
getBrokerAZDistribution()
The distribution of broker nodes across Availability Zones.
|
List<String> |
getClientSubnets()
The list of subnets to connect to in the client virtual private cloud (VPC).
|
String |
getInstanceType()
The type of Amazon EC2 instances to use for Kafka brokers.
|
List<String> |
getSecurityGroups()
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.
|
StorageInfo |
getStorageInfo()
Contains information about storage volumes attached to MSK broker nodes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBrokerAZDistribution(String brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
|
void |
setClientSubnets(Collection<String> clientSubnets)
The list of subnets to connect to in the client virtual private cloud (VPC).
|
void |
setInstanceType(String instanceType)
The type of Amazon EC2 instances to use for Kafka brokers.
|
void |
setSecurityGroups(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.
|
void |
setStorageInfo(StorageInfo storageInfo)
Contains information about storage volumes attached to MSK broker nodes.
|
String |
toString()
Returns a string representation of this object.
|
BrokerNodeGroupInfo |
withBrokerAZDistribution(BrokerAZDistribution brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
|
BrokerNodeGroupInfo |
withBrokerAZDistribution(String brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
|
BrokerNodeGroupInfo |
withClientSubnets(Collection<String> clientSubnets)
The list of subnets to connect to in the client virtual private cloud (VPC).
|
BrokerNodeGroupInfo |
withClientSubnets(String... clientSubnets)
The list of subnets to connect to in the client virtual private cloud (VPC).
|
BrokerNodeGroupInfo |
withInstanceType(String instanceType)
The type of Amazon EC2 instances to use for Kafka brokers.
|
BrokerNodeGroupInfo |
withSecurityGroups(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 |
withSecurityGroups(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 |
withStorageInfo(StorageInfo storageInfo)
Contains information about storage volumes attached to MSK broker nodes.
|
public void setBrokerAZDistribution(String brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
brokerAZDistribution
- The distribution of broker nodes across Availability Zones.BrokerAZDistribution
public String getBrokerAZDistribution()
The distribution of broker nodes across Availability Zones.
BrokerAZDistribution
public BrokerNodeGroupInfo withBrokerAZDistribution(String brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
brokerAZDistribution
- The distribution of broker nodes across Availability Zones.BrokerAZDistribution
public BrokerNodeGroupInfo withBrokerAZDistribution(BrokerAZDistribution brokerAZDistribution)
The distribution of broker nodes across Availability Zones.
brokerAZDistribution
- The distribution of broker nodes across Availability Zones.BrokerAZDistribution
public List<String> getClientSubnets()
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.
public void setClientSubnets(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.public BrokerNodeGroupInfo withClientSubnets(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.
NOTE: This method appends the values to the existing list (if any). Use
setClientSubnets(java.util.Collection)
or withClientSubnets(java.util.Collection)
if you want
to override the existing values.
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.public BrokerNodeGroupInfo withClientSubnets(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.public void setInstanceType(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.public String getInstanceType()
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.
public BrokerNodeGroupInfo withInstanceType(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.public List<String> getSecurityGroups()
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.
public void setSecurityGroups(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.public BrokerNodeGroupInfo withSecurityGroups(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.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
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.public BrokerNodeGroupInfo withSecurityGroups(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.public void setStorageInfo(StorageInfo storageInfo)
Contains information about storage volumes attached to MSK broker nodes.
storageInfo
- Contains information about storage volumes attached to MSK broker nodes.public StorageInfo getStorageInfo()
Contains information about storage volumes attached to MSK broker nodes.
public BrokerNodeGroupInfo withStorageInfo(StorageInfo storageInfo)
Contains information about storage volumes attached to MSK broker nodes.
storageInfo
- Contains information about storage volumes attached to MSK broker nodes.public String toString()
toString
in class Object
Object.toString()
public BrokerNodeGroupInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.