@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 Apache 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).
|
ConnectivityInfo |
getConnectivityInfo()
Information about the broker access configuration.
|
String |
getInstanceType()
The type of Amazon EC2 instances to use for Apache 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.
|
List<String> |
getZoneIds()
The list of zoneIds for the cluster in the virtual private cloud (VPC).
|
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 |
setConnectivityInfo(ConnectivityInfo connectivityInfo)
Information about the broker access configuration.
|
void |
setInstanceType(String instanceType)
The type of Amazon EC2 instances to use for Apache 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.
|
void |
setZoneIds(Collection<String> zoneIds)
The list of zoneIds for the cluster in the virtual private cloud (VPC).
|
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 |
withConnectivityInfo(ConnectivityInfo connectivityInfo)
Information about the broker access configuration.
|
BrokerNodeGroupInfo |
withInstanceType(String instanceType)
The type of Amazon EC2 instances to use for Apache 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.
|
BrokerNodeGroupInfo |
withZoneIds(Collection<String> zoneIds)
The list of zoneIds for the cluster in the virtual private cloud (VPC).
|
BrokerNodeGroupInfo |
withZoneIds(String... zoneIds)
The list of zoneIds for the cluster in the virtual private cloud (VPC).
|
public void setBrokerAZDistribution(String brokerAZDistribution)
The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
brokerAZDistribution
- The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
BrokerAZDistribution
public String getBrokerAZDistribution()
The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
BrokerAZDistribution
public BrokerNodeGroupInfo withBrokerAZDistribution(String brokerAZDistribution)
The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
brokerAZDistribution
- The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
BrokerAZDistribution
public BrokerNodeGroupInfo withBrokerAZDistribution(BrokerAZDistribution brokerAZDistribution)
The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
brokerAZDistribution
- The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
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 occupy the Availability Zone with ID use use1-az3.
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 occupy the Availability Zone with ID use use1-az3.
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 occupy the Availability Zone with ID use use1-az3.
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 occupy the Availability Zone with ID use use1-az3.
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 occupy the Availability Zone with ID use use1-az3.
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 occupy the Availability Zone with ID use use1-az3.
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 occupy the Availability Zone with ID use use1-az3.
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 occupy the Availability Zone with ID use use1-az3.
public void setInstanceType(String instanceType)
The type of Amazon EC2 instances to use for Apache 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 Apache 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 Apache 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.
The type of Amazon EC2 instances to use for Apache 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 Apache 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 Apache 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. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
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. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
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. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
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. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
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. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
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. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
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. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
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. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
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.
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 void setConnectivityInfo(ConnectivityInfo connectivityInfo)
Information about the broker access configuration.
connectivityInfo
- Information about the broker access configuration.
public ConnectivityInfo getConnectivityInfo()
Information about the broker access configuration.
Information about the broker access configuration.
public BrokerNodeGroupInfo withConnectivityInfo(ConnectivityInfo connectivityInfo)
Information about the broker access configuration.
connectivityInfo
- Information about the broker access configuration.
public List<String> getZoneIds()
The list of zoneIds for the cluster in the virtual private cloud (VPC).
The list of zoneIds for the cluster in the virtual private cloud (VPC).
public void setZoneIds(Collection<String> zoneIds)
The list of zoneIds for the cluster in the virtual private cloud (VPC).
zoneIds
- The list of zoneIds for the cluster in the virtual private cloud (VPC).
public BrokerNodeGroupInfo withZoneIds(String... zoneIds)
The list of zoneIds for the cluster in the virtual private cloud (VPC).
NOTE: This method appends the values to the existing list (if any). Use
setZoneIds(java.util.Collection)
or withZoneIds(java.util.Collection)
if you want to override
the existing values.
zoneIds
- The list of zoneIds for the cluster in the virtual private cloud (VPC).
public BrokerNodeGroupInfo withZoneIds(Collection<String> zoneIds)
The list of zoneIds for the cluster in the virtual private cloud (VPC).
zoneIds
- The list of zoneIds for the cluster in the virtual private cloud (VPC).
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.