Struct aws_sdk_iot::types::builders::ThingTypeMetadataBuilder
source · #[non_exhaustive]pub struct ThingTypeMetadataBuilder { /* private fields */ }
Expand description
A builder for ThingTypeMetadata
.
Implementations§
source§impl ThingTypeMetadataBuilder
impl ThingTypeMetadataBuilder
sourcepub fn deprecated(self, input: bool) -> Self
pub fn deprecated(self, input: bool) -> Self
Whether the thing type is deprecated. If true, no new things could be associated with this type.
sourcepub fn set_deprecated(self, input: Option<bool>) -> Self
pub fn set_deprecated(self, input: Option<bool>) -> Self
Whether the thing type is deprecated. If true, no new things could be associated with this type.
sourcepub fn get_deprecated(&self) -> &Option<bool>
pub fn get_deprecated(&self) -> &Option<bool>
Whether the thing type is deprecated. If true, no new things could be associated with this type.
sourcepub fn deprecation_date(self, input: DateTime) -> Self
pub fn deprecation_date(self, input: DateTime) -> Self
The date and time when the thing type was deprecated.
sourcepub fn set_deprecation_date(self, input: Option<DateTime>) -> Self
pub fn set_deprecation_date(self, input: Option<DateTime>) -> Self
The date and time when the thing type was deprecated.
sourcepub fn get_deprecation_date(&self) -> &Option<DateTime>
pub fn get_deprecation_date(&self) -> &Option<DateTime>
The date and time when the thing type was deprecated.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date and time when the thing type was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date and time when the thing type was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date and time when the thing type was created.
sourcepub fn build(self) -> ThingTypeMetadata
pub fn build(self) -> ThingTypeMetadata
Consumes the builder and constructs a ThingTypeMetadata
.
Trait Implementations§
source§impl Clone for ThingTypeMetadataBuilder
impl Clone for ThingTypeMetadataBuilder
source§fn clone(&self) -> ThingTypeMetadataBuilder
fn clone(&self) -> ThingTypeMetadataBuilder
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 ThingTypeMetadataBuilder
impl Debug for ThingTypeMetadataBuilder
source§impl Default for ThingTypeMetadataBuilder
impl Default for ThingTypeMetadataBuilder
source§fn default() -> ThingTypeMetadataBuilder
fn default() -> ThingTypeMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ThingTypeMetadataBuilder
impl PartialEq for ThingTypeMetadataBuilder
impl StructuralPartialEq for ThingTypeMetadataBuilder
Auto Trait Implementations§
impl Freeze for ThingTypeMetadataBuilder
impl RefUnwindSafe for ThingTypeMetadataBuilder
impl Send for ThingTypeMetadataBuilder
impl Sync for ThingTypeMetadataBuilder
impl Unpin for ThingTypeMetadataBuilder
impl UnwindSafe for ThingTypeMetadataBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.