#[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.
This field is required.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 get_thing_group_name(&self) -> &Option<String>
pub fn get_thing_group_name(&self) -> &Option<String>
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 get_parent_group_name(&self) -> &Option<String>
pub fn get_parent_group_name(&self) -> &Option<String>
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.
sourcepub fn get_thing_group_properties(&self) -> &Option<ThingGroupProperties>
pub fn get_thing_group_properties(&self) -> &Option<ThingGroupProperties>
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.
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
.
source§impl CreateThingGroupInputBuilder
impl CreateThingGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateThingGroupOutput, SdkError<CreateThingGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateThingGroupOutput, SdkError<CreateThingGroupError, HttpResponse>>
Sends a request with this input using the given client.
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 for CreateThingGroupInputBuilder
impl PartialEq 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
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.