#[non_exhaustive]pub struct CreateThingGroupInputBuilder { /* private fields */ }Expand description
A builder for CreateThingGroupInput.
Implementations§
source§impl CreateThingGroupInputBuilder
impl CreateThingGroupInputBuilder
sourcepub fn thing_group_name(self, input: impl Into<String>) -> Self
pub fn thing_group_name(self, input: impl Into<String>) -> Self
The thing group name to create.
sourcepub fn set_thing_group_name(self, input: Option<String>) -> Self
pub fn set_thing_group_name(self, input: Option<String>) -> Self
The thing group name to create.
sourcepub fn parent_group_name(self, input: impl Into<String>) -> Self
pub fn parent_group_name(self, input: impl Into<String>) -> Self
The name of the parent thing group.
sourcepub fn set_parent_group_name(self, input: Option<String>) -> Self
pub fn set_parent_group_name(self, input: Option<String>) -> Self
The name of the parent thing group.
sourcepub fn thing_group_properties(self, input: ThingGroupProperties) -> Self
pub fn thing_group_properties(self, input: ThingGroupProperties) -> Self
The thing group properties.
sourcepub fn set_thing_group_properties(
self,
input: Option<ThingGroupProperties>
) -> Self
pub fn set_thing_group_properties( self, input: Option<ThingGroupProperties> ) -> Self
The thing group properties.
Appends an item to tags.
To override the contents of this collection use set_tags.
Metadata which can be used to manage the thing group.
Metadata which can be used to manage the thing group.
sourcepub fn build(self) -> Result<CreateThingGroupInput, BuildError>
pub fn build(self) -> Result<CreateThingGroupInput, BuildError>
Consumes the builder and constructs a CreateThingGroupInput.
Trait Implementations§
source§impl Clone for CreateThingGroupInputBuilder
impl Clone for CreateThingGroupInputBuilder
source§fn clone(&self) -> CreateThingGroupInputBuilder
fn clone(&self) -> CreateThingGroupInputBuilder
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 CreateThingGroupInputBuilder
impl Debug for CreateThingGroupInputBuilder
source§impl Default for CreateThingGroupInputBuilder
impl Default for CreateThingGroupInputBuilder
source§fn default() -> CreateThingGroupInputBuilder
fn default() -> CreateThingGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateThingGroupInputBuilder> for CreateThingGroupInputBuilder
impl PartialEq<CreateThingGroupInputBuilder> for CreateThingGroupInputBuilder
source§fn eq(&self, other: &CreateThingGroupInputBuilder) -> bool
fn eq(&self, other: &CreateThingGroupInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateThingGroupInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateThingGroupInputBuilder
impl Send for CreateThingGroupInputBuilder
impl Sync for CreateThingGroupInputBuilder
impl Unpin for CreateThingGroupInputBuilder
impl UnwindSafe for CreateThingGroupInputBuilder
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