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 get_thing_type_description(&self) -> &Option<String>
pub fn get_thing_type_description(&self) -> &Option<String>
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 get_searchable_attributes(&self) -> &Option<Vec<String>>
pub fn get_searchable_attributes(&self) -> &Option<Vec<String>>
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 for ThingTypePropertiesBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for ThingTypePropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ThingTypePropertiesBuilder
impl Send for ThingTypePropertiesBuilder
impl Sync for ThingTypePropertiesBuilder
impl Unpin for ThingTypePropertiesBuilder
impl UnwindSafe for ThingTypePropertiesBuilder
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>
Creates a shared type from an unshared type.