Struct aws_sdk_iot::types::builders::ThingGroupMetadataBuilder
source · #[non_exhaustive]pub struct ThingGroupMetadataBuilder { /* private fields */ }
Expand description
A builder for ThingGroupMetadata
.
Implementations§
source§impl ThingGroupMetadataBuilder
impl ThingGroupMetadataBuilder
sourcepub fn parent_group_name(self, input: impl Into<String>) -> Self
pub fn parent_group_name(self, input: impl Into<String>) -> Self
The parent thing group name.
sourcepub fn set_parent_group_name(self, input: Option<String>) -> Self
pub fn set_parent_group_name(self, input: Option<String>) -> Self
The parent thing group name.
sourcepub fn get_parent_group_name(&self) -> &Option<String>
pub fn get_parent_group_name(&self) -> &Option<String>
The parent thing group name.
sourcepub fn root_to_parent_thing_groups(self, input: GroupNameAndArn) -> Self
pub fn root_to_parent_thing_groups(self, input: GroupNameAndArn) -> Self
Appends an item to root_to_parent_thing_groups
.
To override the contents of this collection use set_root_to_parent_thing_groups
.
The root parent thing group.
sourcepub fn set_root_to_parent_thing_groups(
self,
input: Option<Vec<GroupNameAndArn>>
) -> Self
pub fn set_root_to_parent_thing_groups( self, input: Option<Vec<GroupNameAndArn>> ) -> Self
The root parent thing group.
sourcepub fn get_root_to_parent_thing_groups(&self) -> &Option<Vec<GroupNameAndArn>>
pub fn get_root_to_parent_thing_groups(&self) -> &Option<Vec<GroupNameAndArn>>
The root parent thing group.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The UNIX timestamp of when the thing group was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The UNIX timestamp of when the thing group was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The UNIX timestamp of when the thing group was created.
sourcepub fn build(self) -> ThingGroupMetadata
pub fn build(self) -> ThingGroupMetadata
Consumes the builder and constructs a ThingGroupMetadata
.
Trait Implementations§
source§impl Clone for ThingGroupMetadataBuilder
impl Clone for ThingGroupMetadataBuilder
source§fn clone(&self) -> ThingGroupMetadataBuilder
fn clone(&self) -> ThingGroupMetadataBuilder
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 ThingGroupMetadataBuilder
impl Debug for ThingGroupMetadataBuilder
source§impl Default for ThingGroupMetadataBuilder
impl Default for ThingGroupMetadataBuilder
source§fn default() -> ThingGroupMetadataBuilder
fn default() -> ThingGroupMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ThingGroupMetadataBuilder
impl PartialEq for ThingGroupMetadataBuilder
source§fn eq(&self, other: &ThingGroupMetadataBuilder) -> bool
fn eq(&self, other: &ThingGroupMetadataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ThingGroupMetadataBuilder
Auto Trait Implementations§
impl Freeze for ThingGroupMetadataBuilder
impl RefUnwindSafe for ThingGroupMetadataBuilder
impl Send for ThingGroupMetadataBuilder
impl Sync for ThingGroupMetadataBuilder
impl Unpin for ThingGroupMetadataBuilder
impl UnwindSafe for ThingGroupMetadataBuilder
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.