#[non_exhaustive]pub struct CreateThingOutputBuilder { /* private fields */ }
Expand description
A builder for CreateThingOutput
.
Implementations§
source§impl CreateThingOutputBuilder
impl CreateThingOutputBuilder
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the new thing.
sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the new thing.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The name of the new thing.
sourcepub fn set_thing_arn(self, input: Option<String>) -> Self
pub fn set_thing_arn(self, input: Option<String>) -> Self
The ARN of the new thing.
sourcepub fn get_thing_arn(&self) -> &Option<String>
pub fn get_thing_arn(&self) -> &Option<String>
The ARN of the new thing.
sourcepub fn set_thing_id(self, input: Option<String>) -> Self
pub fn set_thing_id(self, input: Option<String>) -> Self
The thing ID.
sourcepub fn get_thing_id(&self) -> &Option<String>
pub fn get_thing_id(&self) -> &Option<String>
The thing ID.
sourcepub fn build(self) -> CreateThingOutput
pub fn build(self) -> CreateThingOutput
Consumes the builder and constructs a CreateThingOutput
.
Trait Implementations§
source§impl Clone for CreateThingOutputBuilder
impl Clone for CreateThingOutputBuilder
source§fn clone(&self) -> CreateThingOutputBuilder
fn clone(&self) -> CreateThingOutputBuilder
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 CreateThingOutputBuilder
impl Debug for CreateThingOutputBuilder
source§impl Default for CreateThingOutputBuilder
impl Default for CreateThingOutputBuilder
source§fn default() -> CreateThingOutputBuilder
fn default() -> CreateThingOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateThingOutputBuilder
impl PartialEq for CreateThingOutputBuilder
source§fn eq(&self, other: &CreateThingOutputBuilder) -> bool
fn eq(&self, other: &CreateThingOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateThingOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateThingOutputBuilder
impl RefUnwindSafe for CreateThingOutputBuilder
impl Send for CreateThingOutputBuilder
impl Sync for CreateThingOutputBuilder
impl Unpin for CreateThingOutputBuilder
impl UnwindSafe for CreateThingOutputBuilder
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.