Struct aws_sdk_kafka::input::create_cluster_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateClusterInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn broker_node_group_info(self, input: BrokerNodeGroupInfo) -> Self
pub fn broker_node_group_info(self, input: BrokerNodeGroupInfo) -> Self
Information about the broker nodes in the cluster.
sourcepub fn set_broker_node_group_info(
self,
input: Option<BrokerNodeGroupInfo>
) -> Self
pub fn set_broker_node_group_info(
self,
input: Option<BrokerNodeGroupInfo>
) -> Self
Information about the broker nodes in the cluster.
sourcepub fn client_authentication(self, input: ClientAuthentication) -> Self
pub fn client_authentication(self, input: ClientAuthentication) -> Self
Includes all client authentication related 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 related information.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster.
sourcepub fn configuration_info(self, input: ConfigurationInfo) -> Self
pub fn configuration_info(self, input: ConfigurationInfo) -> Self
Represents the configuration that you want MSK to use for the brokers in a cluster.
sourcepub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
pub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
Represents the configuration that you want MSK to use for the brokers in a cluster.
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 enhanced_monitoring(self, input: EnhancedMonitoring) -> Self
pub fn enhanced_monitoring(self, input: EnhancedMonitoring) -> Self
Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.
sourcepub fn set_enhanced_monitoring(self, input: Option<EnhancedMonitoring>) -> Self
pub fn set_enhanced_monitoring(self, input: Option<EnhancedMonitoring>) -> Self
Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.
sourcepub fn open_monitoring(self, input: OpenMonitoringInfo) -> Self
pub fn open_monitoring(self, input: OpenMonitoringInfo) -> Self
The settings for open monitoring.
sourcepub fn set_open_monitoring(self, input: Option<OpenMonitoringInfo>) -> Self
pub fn set_open_monitoring(self, input: Option<OpenMonitoringInfo>) -> 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 version of Apache Kafka.
sourcepub fn set_kafka_version(self, input: Option<String>) -> Self
pub fn set_kafka_version(self, input: Option<String>) -> Self
The version of Apache Kafka.
pub fn logging_info(self, input: LoggingInfo) -> Self
pub fn set_logging_info(self, input: Option<LoggingInfo>) -> Self
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Create tags when creating the cluster.
Create tags when creating the cluster.
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) -> Result<CreateClusterInput, BuildError>
pub fn build(self) -> Result<CreateClusterInput, BuildError>
Consumes the builder and constructs a CreateClusterInput
.