Struct aws_sdk_kafka::model::mutable_cluster_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MutableClusterInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn broker_ebs_volume_info(self, input: BrokerEbsVolumeInfo) -> Self
pub fn broker_ebs_volume_info(self, input: BrokerEbsVolumeInfo) -> Self
Appends an item to broker_ebs_volume_info
.
To override the contents of this collection use set_broker_ebs_volume_info
.
Specifies the size of the EBS volume and the ID of the associated broker.
sourcepub fn set_broker_ebs_volume_info(
self,
input: Option<Vec<BrokerEbsVolumeInfo>>
) -> Self
pub fn set_broker_ebs_volume_info(
self,
input: Option<Vec<BrokerEbsVolumeInfo>>
) -> Self
Specifies the size of the EBS volume and the ID of the associated broker.
sourcepub fn configuration_info(self, input: ConfigurationInfo) -> Self
pub fn configuration_info(self, input: ConfigurationInfo) -> Self
Information about the changes in the configuration of the brokers.
sourcepub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
pub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
Information about the changes in the configuration of the brokers.
sourcepub fn number_of_broker_nodes(self, input: i32) -> Self
pub fn number_of_broker_nodes(self, input: i32) -> Self
The number of broker nodes in the cluster.
sourcepub fn set_number_of_broker_nodes(self, input: Option<i32>) -> Self
pub fn set_number_of_broker_nodes(self, input: Option<i32>) -> Self
The number of broker nodes in the cluster.
sourcepub fn enhanced_monitoring(self, input: EnhancedMonitoring) -> Self
pub fn enhanced_monitoring(self, input: EnhancedMonitoring) -> Self
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
sourcepub fn set_enhanced_monitoring(self, input: Option<EnhancedMonitoring>) -> Self
pub fn set_enhanced_monitoring(self, input: Option<EnhancedMonitoring>) -> Self
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
sourcepub fn open_monitoring(self, input: OpenMonitoring) -> Self
pub fn open_monitoring(self, input: OpenMonitoring) -> Self
The settings for open monitoring.
sourcepub fn set_open_monitoring(self, input: Option<OpenMonitoring>) -> Self
pub fn set_open_monitoring(self, input: Option<OpenMonitoring>) -> Self
The settings for open monitoring.
sourcepub fn kafka_version(self, input: impl Into<String>) -> Self
pub fn kafka_version(self, input: impl Into<String>) -> Self
The Apache Kafka version.
sourcepub fn set_kafka_version(self, input: Option<String>) -> Self
pub fn set_kafka_version(self, input: Option<String>) -> Self
The Apache Kafka version.
sourcepub fn logging_info(self, input: LoggingInfo) -> Self
pub fn logging_info(self, input: LoggingInfo) -> Self
You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.
sourcepub fn set_logging_info(self, input: Option<LoggingInfo>) -> Self
pub fn set_logging_info(self, input: Option<LoggingInfo>) -> Self
You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
Information about the Amazon MSK broker type.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
Information about the Amazon MSK broker type.
sourcepub fn client_authentication(self, input: ClientAuthentication) -> Self
pub fn client_authentication(self, input: ClientAuthentication) -> Self
Includes all client authentication information.
sourcepub fn set_client_authentication(
self,
input: Option<ClientAuthentication>
) -> Self
pub fn set_client_authentication(
self,
input: Option<ClientAuthentication>
) -> Self
Includes all client authentication information.
sourcepub fn encryption_info(self, input: EncryptionInfo) -> Self
pub fn encryption_info(self, input: EncryptionInfo) -> Self
Includes all encryption-related information.
sourcepub fn set_encryption_info(self, input: Option<EncryptionInfo>) -> Self
pub fn set_encryption_info(self, input: Option<EncryptionInfo>) -> Self
Includes all encryption-related information.
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 storage_mode(self, input: StorageMode) -> Self
pub fn storage_mode(self, input: StorageMode) -> Self
This controls storage mode for supported storage tiers.
sourcepub fn set_storage_mode(self, input: Option<StorageMode>) -> Self
pub fn set_storage_mode(self, input: Option<StorageMode>) -> Self
This controls storage mode for supported storage tiers.
sourcepub fn build(self) -> MutableClusterInfo
pub fn build(self) -> MutableClusterInfo
Consumes the builder and constructs a MutableClusterInfo
.