Struct aws_sdk_kafka::client::fluent_builders::CreateCluster
source · pub struct CreateCluster { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateCluster
.
Creates a new MSK cluster.
Implementations§
source§impl CreateCluster
impl CreateCluster
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateCluster, AwsResponseRetryClassifier>, SdkError<CreateClusterError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateCluster, AwsResponseRetryClassifier>, SdkError<CreateClusterError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateClusterOutput, SdkError<CreateClusterError>>
pub async fn send(
self
) -> Result<CreateClusterOutput, SdkError<CreateClusterError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
Trait Implementations§
source§impl Clone for CreateCluster
impl Clone for CreateCluster
source§fn clone(&self) -> CreateCluster
fn clone(&self) -> CreateCluster
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more