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 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 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 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 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
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 ThingTypeDefinitionBuilder
impl Debug for ThingTypeDefinitionBuilder
source§impl Default for ThingTypeDefinitionBuilder
impl Default for ThingTypeDefinitionBuilder
source§fn default() -> ThingTypeDefinitionBuilder
fn default() -> ThingTypeDefinitionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ThingTypeDefinitionBuilder> for ThingTypeDefinitionBuilder
impl PartialEq<ThingTypeDefinitionBuilder> for ThingTypeDefinitionBuilder
source§fn eq(&self, other: &ThingTypeDefinitionBuilder) -> bool
fn eq(&self, other: &ThingTypeDefinitionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.