Struct aws_sdk_kafka::client::fluent_builders::CreateConfiguration
source · pub struct CreateConfiguration { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateConfiguration
.
Creates a new MSK configuration.
Implementations§
source§impl CreateConfiguration
impl CreateConfiguration
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateConfiguration, AwsResponseRetryClassifier>, SdkError<CreateConfigurationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateConfiguration, AwsResponseRetryClassifier>, SdkError<CreateConfigurationError>>
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<CreateConfigurationOutput, SdkError<CreateConfigurationError>>
pub async fn send(
self
) -> Result<CreateConfigurationOutput, SdkError<CreateConfigurationError>>
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the configuration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the configuration.
sourcepub fn kafka_versions(self, input: impl Into<String>) -> Self
pub fn kafka_versions(self, input: impl Into<String>) -> Self
Appends an item to KafkaVersions
.
To override the contents of this collection use set_kafka_versions
.
The versions of Apache Kafka with which you can use this MSK configuration.
sourcepub fn set_kafka_versions(self, input: Option<Vec<String>>) -> Self
pub fn set_kafka_versions(self, input: Option<Vec<String>>) -> Self
The versions of Apache Kafka with which you can use this MSK configuration.
sourcepub fn server_properties(self, input: Blob) -> Self
pub fn server_properties(self, input: Blob) -> Self
Contents of the
sourcepub fn set_server_properties(self, input: Option<Blob>) -> Self
pub fn set_server_properties(self, input: Option<Blob>) -> Self
Contents of the
Trait Implementations§
source§impl Clone for CreateConfiguration
impl Clone for CreateConfiguration
source§fn clone(&self) -> CreateConfiguration
fn clone(&self) -> CreateConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more