Struct aws_sdk_kafka::operation::create_configuration::builders::CreateConfigurationInputBuilder
source · #[non_exhaustive]pub struct CreateConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for CreateConfigurationInput
.
Implementations§
source§impl CreateConfigurationInputBuilder
impl CreateConfigurationInputBuilder
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 kafka_versions
.
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the configuration.
This field is required.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
sourcepub fn build(self) -> Result<CreateConfigurationInput, BuildError>
pub fn build(self) -> Result<CreateConfigurationInput, BuildError>
Consumes the builder and constructs a CreateConfigurationInput
.
source§impl CreateConfigurationInputBuilder
impl CreateConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateConfigurationOutput, SdkError<CreateConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateConfigurationOutput, SdkError<CreateConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateConfigurationInputBuilder
impl Clone for CreateConfigurationInputBuilder
source§fn clone(&self) -> CreateConfigurationInputBuilder
fn clone(&self) -> CreateConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateConfigurationInputBuilder
impl Default for CreateConfigurationInputBuilder
source§fn default() -> CreateConfigurationInputBuilder
fn default() -> CreateConfigurationInputBuilder
source§impl PartialEq for CreateConfigurationInputBuilder
impl PartialEq for CreateConfigurationInputBuilder
source§fn eq(&self, other: &CreateConfigurationInputBuilder) -> bool
fn eq(&self, other: &CreateConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for CreateConfigurationInputBuilder
impl RefUnwindSafe for CreateConfigurationInputBuilder
impl Send for CreateConfigurationInputBuilder
impl Sync for CreateConfigurationInputBuilder
impl Unpin for CreateConfigurationInputBuilder
impl UnwindSafe for CreateConfigurationInputBuilder
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