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
impl StructuralPartialEq for ThingTypePropertiesBuilder
Auto Trait Implementations§
impl Freeze for ThingTypePropertiesBuilder
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> 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.