Struct aws_sdk_kafka::operation::create_configuration::builders::CreateConfigurationOutputBuilder
source · #[non_exhaustive]pub struct CreateConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for CreateConfigurationOutput
.
Implementations§
source§impl CreateConfigurationOutputBuilder
impl CreateConfigurationOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the configuration.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the configuration.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when the configuration was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time when the configuration was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time when the configuration was created.
sourcepub fn latest_revision(self, input: ConfigurationRevision) -> Self
pub fn latest_revision(self, input: ConfigurationRevision) -> Self
Latest revision of the configuration.
sourcepub fn set_latest_revision(self, input: Option<ConfigurationRevision>) -> Self
pub fn set_latest_revision(self, input: Option<ConfigurationRevision>) -> Self
Latest revision of the configuration.
sourcepub fn get_latest_revision(&self) -> &Option<ConfigurationRevision>
pub fn get_latest_revision(&self) -> &Option<ConfigurationRevision>
Latest revision of the configuration.
sourcepub fn state(self, input: ConfigurationState) -> Self
pub fn state(self, input: ConfigurationState) -> Self
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
sourcepub fn set_state(self, input: Option<ConfigurationState>) -> Self
pub fn set_state(self, input: Option<ConfigurationState>) -> Self
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
sourcepub fn get_state(&self) -> &Option<ConfigurationState>
pub fn get_state(&self) -> &Option<ConfigurationState>
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
sourcepub fn build(self) -> CreateConfigurationOutput
pub fn build(self) -> CreateConfigurationOutput
Consumes the builder and constructs a CreateConfigurationOutput
.
Trait Implementations§
source§impl Clone for CreateConfigurationOutputBuilder
impl Clone for CreateConfigurationOutputBuilder
source§fn clone(&self) -> CreateConfigurationOutputBuilder
fn clone(&self) -> CreateConfigurationOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateConfigurationOutputBuilder
impl Default for CreateConfigurationOutputBuilder
source§fn default() -> CreateConfigurationOutputBuilder
fn default() -> CreateConfigurationOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateConfigurationOutputBuilder
impl PartialEq for CreateConfigurationOutputBuilder
source§fn eq(&self, other: &CreateConfigurationOutputBuilder) -> bool
fn eq(&self, other: &CreateConfigurationOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateConfigurationOutputBuilder
impl RefUnwindSafe for CreateConfigurationOutputBuilder
impl Send for CreateConfigurationOutputBuilder
impl Sync for CreateConfigurationOutputBuilder
impl Unpin for CreateConfigurationOutputBuilder
impl UnwindSafe for CreateConfigurationOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.