Struct aws_sdk_kafka::types::builders::BrokerNodeGroupInfoBuilder
source · #[non_exhaustive]pub struct BrokerNodeGroupInfoBuilder { /* private fields */ }
Expand description
A builder for BrokerNodeGroupInfo
.
Implementations§
source§impl BrokerNodeGroupInfoBuilder
impl BrokerNodeGroupInfoBuilder
sourcepub fn broker_az_distribution(self, input: BrokerAzDistribution) -> Self
pub fn broker_az_distribution(self, input: BrokerAzDistribution) -> Self
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.
sourcepub fn set_broker_az_distribution(
self,
input: Option<BrokerAzDistribution>
) -> Self
pub fn set_broker_az_distribution( self, input: Option<BrokerAzDistribution> ) -> Self
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.
sourcepub fn get_broker_az_distribution(&self) -> &Option<BrokerAzDistribution>
pub fn get_broker_az_distribution(&self) -> &Option<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.
sourcepub fn client_subnets(self, input: impl Into<String>) -> Self
pub fn client_subnets(self, input: impl Into<String>) -> Self
Appends an item to client_subnets
.
To override the contents of this collection use set_client_subnets
.
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.
sourcepub fn set_client_subnets(self, input: Option<Vec<String>>) -> Self
pub fn set_client_subnets(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_client_subnets(&self) -> &Option<Vec<String>>
pub fn get_client_subnets(&self) -> &Option<Vec<String>>
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.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
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.
This field is required.sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
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.
sourcepub fn get_instance_type(&self) -> &Option<String>
pub fn get_instance_type(&self) -> &Option<String>
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.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
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.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_security_groups(&self) -> &Option<Vec<String>>
pub fn get_security_groups(&self) -> &Option<Vec<String>>
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.
sourcepub fn storage_info(self, input: StorageInfo) -> Self
pub fn storage_info(self, input: StorageInfo) -> Self
Contains information about storage volumes attached to MSK broker nodes.
sourcepub fn set_storage_info(self, input: Option<StorageInfo>) -> Self
pub fn set_storage_info(self, input: Option<StorageInfo>) -> Self
Contains information about storage volumes attached to MSK broker nodes.
sourcepub fn get_storage_info(&self) -> &Option<StorageInfo>
pub fn get_storage_info(&self) -> &Option<StorageInfo>
Contains information about storage volumes attached to MSK broker nodes.
sourcepub fn connectivity_info(self, input: ConnectivityInfo) -> Self
pub fn connectivity_info(self, input: ConnectivityInfo) -> Self
Information about the broker access configuration.
sourcepub fn set_connectivity_info(self, input: Option<ConnectivityInfo>) -> Self
pub fn set_connectivity_info(self, input: Option<ConnectivityInfo>) -> Self
Information about the broker access configuration.
sourcepub fn get_connectivity_info(&self) -> &Option<ConnectivityInfo>
pub fn get_connectivity_info(&self) -> &Option<ConnectivityInfo>
Information about the broker access configuration.
sourcepub fn zone_ids(self, input: impl Into<String>) -> Self
pub fn zone_ids(self, input: impl Into<String>) -> Self
Appends an item to zone_ids
.
To override the contents of this collection use set_zone_ids
.
The list of zoneIds for the cluster in the virtual private cloud (VPC).
sourcepub fn set_zone_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_zone_ids(self, input: Option<Vec<String>>) -> Self
The list of zoneIds for the cluster in the virtual private cloud (VPC).
sourcepub fn get_zone_ids(&self) -> &Option<Vec<String>>
pub fn get_zone_ids(&self) -> &Option<Vec<String>>
The list of zoneIds for the cluster in the virtual private cloud (VPC).
sourcepub fn build(self) -> BrokerNodeGroupInfo
pub fn build(self) -> BrokerNodeGroupInfo
Consumes the builder and constructs a BrokerNodeGroupInfo
.
Trait Implementations§
source§impl Clone for BrokerNodeGroupInfoBuilder
impl Clone for BrokerNodeGroupInfoBuilder
source§fn clone(&self) -> BrokerNodeGroupInfoBuilder
fn clone(&self) -> BrokerNodeGroupInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BrokerNodeGroupInfoBuilder
impl Debug for BrokerNodeGroupInfoBuilder
source§impl Default for BrokerNodeGroupInfoBuilder
impl Default for BrokerNodeGroupInfoBuilder
source§fn default() -> BrokerNodeGroupInfoBuilder
fn default() -> BrokerNodeGroupInfoBuilder
source§impl PartialEq for BrokerNodeGroupInfoBuilder
impl PartialEq for BrokerNodeGroupInfoBuilder
source§fn eq(&self, other: &BrokerNodeGroupInfoBuilder) -> bool
fn eq(&self, other: &BrokerNodeGroupInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.