Struct aws_sdk_kafka::types::builders::ConfigurationRevisionBuilder
source · #[non_exhaustive]pub struct ConfigurationRevisionBuilder { /* private fields */ }
Expand description
A builder for ConfigurationRevision
.
Implementations§
source§impl ConfigurationRevisionBuilder
impl ConfigurationRevisionBuilder
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when the configuration revision was created.
This field is required.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 revision was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time when the configuration revision was created.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the configuration revision.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the configuration revision.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the configuration revision.
sourcepub fn set_revision(self, input: Option<i64>) -> Self
pub fn set_revision(self, input: Option<i64>) -> Self
The revision number.
sourcepub fn get_revision(&self) -> &Option<i64>
pub fn get_revision(&self) -> &Option<i64>
The revision number.
sourcepub fn build(self) -> ConfigurationRevision
pub fn build(self) -> ConfigurationRevision
Consumes the builder and constructs a ConfigurationRevision
.
Trait Implementations§
source§impl Clone for ConfigurationRevisionBuilder
impl Clone for ConfigurationRevisionBuilder
source§fn clone(&self) -> ConfigurationRevisionBuilder
fn clone(&self) -> ConfigurationRevisionBuilder
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 Debug for ConfigurationRevisionBuilder
impl Debug for ConfigurationRevisionBuilder
source§impl Default for ConfigurationRevisionBuilder
impl Default for ConfigurationRevisionBuilder
source§fn default() -> ConfigurationRevisionBuilder
fn default() -> ConfigurationRevisionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConfigurationRevisionBuilder
impl PartialEq for ConfigurationRevisionBuilder
source§fn eq(&self, other: &ConfigurationRevisionBuilder) -> bool
fn eq(&self, other: &ConfigurationRevisionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigurationRevisionBuilder
Auto Trait Implementations§
impl Freeze for ConfigurationRevisionBuilder
impl RefUnwindSafe for ConfigurationRevisionBuilder
impl Send for ConfigurationRevisionBuilder
impl Sync for ConfigurationRevisionBuilder
impl Unpin for ConfigurationRevisionBuilder
impl UnwindSafe for ConfigurationRevisionBuilder
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.