Struct aws_sdk_kafka::operation::create_configuration::builders::CreateConfigurationFluentBuilder
source · pub struct CreateConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateConfiguration
.
Creates a new MSK configuration.
Implementations§
source§impl CreateConfigurationFluentBuilder
impl CreateConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &CreateConfigurationInputBuilder
pub fn as_input(&self) -> &CreateConfigurationInputBuilder
Access the CreateConfiguration as a reference.
sourcepub async fn send(
self,
) -> Result<CreateConfigurationOutput, SdkError<CreateConfigurationError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateConfigurationOutput, SdkError<CreateConfigurationError, HttpResponse>>
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 customize(
self,
) -> CustomizableOperation<CreateConfigurationOutput, CreateConfigurationError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateConfigurationOutput, CreateConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_kafka_versions(&self) -> &Option<Vec<String>>
pub fn get_kafka_versions(&self) -> &Option<Vec<String>>
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
sourcepub fn get_server_properties(&self) -> &Option<Blob>
pub fn get_server_properties(&self) -> &Option<Blob>
Contents of the
Trait Implementations§
source§impl Clone for CreateConfigurationFluentBuilder
impl Clone for CreateConfigurationFluentBuilder
source§fn clone(&self) -> CreateConfigurationFluentBuilder
fn clone(&self) -> CreateConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateConfigurationFluentBuilder
impl !RefUnwindSafe for CreateConfigurationFluentBuilder
impl Send for CreateConfigurationFluentBuilder
impl Sync for CreateConfigurationFluentBuilder
impl Unpin for CreateConfigurationFluentBuilder
impl !UnwindSafe for CreateConfigurationFluentBuilder
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