Struct aws_sdk_iot::types::builders::ThingTypeDefinitionBuilder
source · #[non_exhaustive]pub struct ThingTypeDefinitionBuilder { /* private fields */ }
Expand description
A builder for ThingTypeDefinition
.
Implementations§
source§impl ThingTypeDefinitionBuilder
impl ThingTypeDefinitionBuilder
sourcepub fn thing_type_name(self, input: impl Into<String>) -> Self
pub fn thing_type_name(self, input: impl Into<String>) -> Self
The name of the thing type.
sourcepub fn set_thing_type_name(self, input: Option<String>) -> Self
pub fn set_thing_type_name(self, input: Option<String>) -> Self
The name of the thing type.
sourcepub fn get_thing_type_name(&self) -> &Option<String>
pub fn get_thing_type_name(&self) -> &Option<String>
The name of the thing type.
sourcepub fn thing_type_arn(self, input: impl Into<String>) -> Self
pub fn thing_type_arn(self, input: impl Into<String>) -> Self
The thing type ARN.
sourcepub fn set_thing_type_arn(self, input: Option<String>) -> Self
pub fn set_thing_type_arn(self, input: Option<String>) -> Self
The thing type ARN.
sourcepub fn get_thing_type_arn(&self) -> &Option<String>
pub fn get_thing_type_arn(&self) -> &Option<String>
The thing type ARN.
sourcepub fn thing_type_properties(self, input: ThingTypeProperties) -> Self
pub fn thing_type_properties(self, input: ThingTypeProperties) -> Self
The ThingTypeProperties for the thing type.
sourcepub fn set_thing_type_properties(
self,
input: Option<ThingTypeProperties>,
) -> Self
pub fn set_thing_type_properties( self, input: Option<ThingTypeProperties>, ) -> Self
The ThingTypeProperties for the thing type.
sourcepub fn get_thing_type_properties(&self) -> &Option<ThingTypeProperties>
pub fn get_thing_type_properties(&self) -> &Option<ThingTypeProperties>
The ThingTypeProperties for the thing type.
sourcepub fn thing_type_metadata(self, input: ThingTypeMetadata) -> Self
pub fn thing_type_metadata(self, input: ThingTypeMetadata) -> Self
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
sourcepub fn set_thing_type_metadata(self, input: Option<ThingTypeMetadata>) -> Self
pub fn set_thing_type_metadata(self, input: Option<ThingTypeMetadata>) -> Self
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
sourcepub fn get_thing_type_metadata(&self) -> &Option<ThingTypeMetadata>
pub fn get_thing_type_metadata(&self) -> &Option<ThingTypeMetadata>
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
sourcepub fn build(self) -> ThingTypeDefinition
pub fn build(self) -> ThingTypeDefinition
Consumes the builder and constructs a ThingTypeDefinition
.
Trait Implementations§
source§impl Clone for ThingTypeDefinitionBuilder
impl Clone for ThingTypeDefinitionBuilder
source§fn clone(&self) -> ThingTypeDefinitionBuilder
fn clone(&self) -> ThingTypeDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ThingTypeDefinitionBuilder
impl Debug for ThingTypeDefinitionBuilder
source§impl Default for ThingTypeDefinitionBuilder
impl Default for ThingTypeDefinitionBuilder
source§fn default() -> ThingTypeDefinitionBuilder
fn default() -> ThingTypeDefinitionBuilder
impl StructuralPartialEq for ThingTypeDefinitionBuilder
Auto Trait Implementations§
impl Freeze for ThingTypeDefinitionBuilder
impl RefUnwindSafe for ThingTypeDefinitionBuilder
impl Send for ThingTypeDefinitionBuilder
impl Sync for ThingTypeDefinitionBuilder
impl Unpin for ThingTypeDefinitionBuilder
impl UnwindSafe for ThingTypeDefinitionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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