#[non_exhaustive]pub struct CreateClusterInputBuilder { /* private fields */ }
Expand description
A builder for CreateClusterInput
.
Implementations§
source§impl CreateClusterInputBuilder
impl CreateClusterInputBuilder
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.
This field is required.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 get_broker_node_group_info(&self) -> &Option<BrokerNodeGroupInfo>
pub fn get_broker_node_group_info(&self) -> &Option<BrokerNodeGroupInfo>
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 get_client_authentication(&self) -> &Option<ClientAuthentication>
pub fn get_client_authentication(&self) -> &Option<ClientAuthentication>
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.
This field is required.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 get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
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 get_configuration_info(&self) -> &Option<ConfigurationInfo>
pub fn get_configuration_info(&self) -> &Option<ConfigurationInfo>
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 get_encryption_info(&self) -> &Option<EncryptionInfo>
pub fn get_encryption_info(&self) -> &Option<EncryptionInfo>
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 get_enhanced_monitoring(&self) -> &Option<EnhancedMonitoring>
pub fn get_enhanced_monitoring(&self) -> &Option<EnhancedMonitoring>
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 get_open_monitoring(&self) -> &Option<OpenMonitoringInfo>
pub fn get_open_monitoring(&self) -> &Option<OpenMonitoringInfo>
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.
This field is required.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.
sourcepub fn get_kafka_version(&self) -> &Option<String>
pub fn get_kafka_version(&self) -> &Option<String>
The version of Apache Kafka.
pub fn logging_info(self, input: LoggingInfo) -> Self
pub fn set_logging_info(self, input: Option<LoggingInfo>) -> Self
pub fn get_logging_info(&self) -> &Option<LoggingInfo>
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.
This field is required.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 get_number_of_broker_nodes(&self) -> &Option<i32>
pub fn get_number_of_broker_nodes(&self) -> &Option<i32>
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.
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 get_storage_mode(&self) -> &Option<StorageMode>
pub fn get_storage_mode(&self) -> &Option<StorageMode>
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
.
source§impl CreateClusterInputBuilder
impl CreateClusterInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateClusterOutput, SdkError<CreateClusterError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateClusterOutput, SdkError<CreateClusterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateClusterInputBuilder
impl Clone for CreateClusterInputBuilder
source§fn clone(&self) -> CreateClusterInputBuilder
fn clone(&self) -> CreateClusterInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateClusterInputBuilder
impl Debug for CreateClusterInputBuilder
source§impl Default for CreateClusterInputBuilder
impl Default for CreateClusterInputBuilder
source§fn default() -> CreateClusterInputBuilder
fn default() -> CreateClusterInputBuilder
source§impl PartialEq for CreateClusterInputBuilder
impl PartialEq for CreateClusterInputBuilder
source§fn eq(&self, other: &CreateClusterInputBuilder) -> bool
fn eq(&self, other: &CreateClusterInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateClusterInputBuilder
Auto Trait Implementations§
impl Freeze for CreateClusterInputBuilder
impl RefUnwindSafe for CreateClusterInputBuilder
impl Send for CreateClusterInputBuilder
impl Sync for CreateClusterInputBuilder
impl Unpin for CreateClusterInputBuilder
impl UnwindSafe for CreateClusterInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more