Struct aws_sdk_iot::types::builders::ThingTypePropertiesBuilder
source · #[non_exhaustive]pub struct ThingTypePropertiesBuilder { /* private fields */ }
Expand description
A builder for ThingTypeProperties
.
Implementations§
source§impl ThingTypePropertiesBuilder
impl ThingTypePropertiesBuilder
sourcepub fn thing_type_description(self, input: impl Into<String>) -> Self
pub fn thing_type_description(self, input: impl Into<String>) -> Self
The description of the thing type.
sourcepub fn set_thing_type_description(self, input: Option<String>) -> Self
pub fn set_thing_type_description(self, input: Option<String>) -> Self
The description of the thing type.
sourcepub fn searchable_attributes(self, input: impl Into<String>) -> Self
pub fn searchable_attributes(self, input: impl Into<String>) -> Self
Appends an item to searchable_attributes
.
To override the contents of this collection use set_searchable_attributes
.
A list of searchable thing attribute names.
sourcepub fn set_searchable_attributes(self, input: Option<Vec<String>>) -> Self
pub fn set_searchable_attributes(self, input: Option<Vec<String>>) -> Self
A list of searchable thing attribute names.
sourcepub fn build(self) -> ThingTypeProperties
pub fn build(self) -> ThingTypeProperties
Consumes the builder and constructs a ThingTypeProperties
.
Trait Implementations§
source§impl Clone for ThingTypePropertiesBuilder
impl Clone for ThingTypePropertiesBuilder
source§fn clone(&self) -> ThingTypePropertiesBuilder
fn clone(&self) -> ThingTypePropertiesBuilder
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 ThingTypePropertiesBuilder
impl Debug for ThingTypePropertiesBuilder
source§impl Default for ThingTypePropertiesBuilder
impl Default for ThingTypePropertiesBuilder
source§fn default() -> ThingTypePropertiesBuilder
fn default() -> ThingTypePropertiesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ThingTypePropertiesBuilder> for ThingTypePropertiesBuilder
impl PartialEq<ThingTypePropertiesBuilder> for ThingTypePropertiesBuilder
source§fn eq(&self, other: &ThingTypePropertiesBuilder) -> bool
fn eq(&self, other: &ThingTypePropertiesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.