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 ==
.