#[non_exhaustive]pub struct DescribeThingOutputBuilder { /* private fields */ }Expand description
A builder for DescribeThingOutput.
Implementations§
source§impl DescribeThingOutputBuilder
impl DescribeThingOutputBuilder
sourcepub fn default_client_id(self, input: impl Into<String>) -> Self
pub fn default_client_id(self, input: impl Into<String>) -> Self
The default MQTT client ID. For a typical device, the thing name is also used as the default MQTT client ID. Although we don’t require a mapping between a thing's registry name and its use of MQTT client IDs, certificates, or shadow state, we recommend that you choose a thing name and use it as the MQTT client ID for the registry and the Device Shadow service.
This lets you better organize your IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
sourcepub fn set_default_client_id(self, input: Option<String>) -> Self
pub fn set_default_client_id(self, input: Option<String>) -> Self
The default MQTT client ID. For a typical device, the thing name is also used as the default MQTT client ID. Although we don’t require a mapping between a thing's registry name and its use of MQTT client IDs, certificates, or shadow state, we recommend that you choose a thing name and use it as the MQTT client ID for the registry and the Device Shadow service.
This lets you better organize your IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the 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 thing.
sourcepub fn set_thing_id(self, input: Option<String>) -> Self
pub fn set_thing_id(self, input: Option<String>) -> Self
The ID of the thing to describe.
sourcepub fn set_thing_arn(self, input: Option<String>) -> Self
pub fn set_thing_arn(self, input: Option<String>) -> Self
The ARN of the thing to describe.
sourcepub fn thing_type_name(self, input: impl Into<String>) -> Self
pub fn thing_type_name(self, input: impl Into<String>) -> Self
The thing type name.
sourcepub fn set_thing_type_name(self, input: Option<String>) -> Self
pub fn set_thing_type_name(self, input: Option<String>) -> Self
The thing type name.
sourcepub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to attributes.
To override the contents of this collection use set_attributes.
The thing attributes.
sourcepub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
The thing attributes.
sourcepub fn version(self, input: i64) -> Self
pub fn version(self, input: i64) -> Self
The current version of the thing record in the registry.
To avoid unintentional changes to the information in the registry, you can pass the version information in the expectedVersion parameter of the UpdateThing and DeleteThing calls.
sourcepub fn set_version(self, input: Option<i64>) -> Self
pub fn set_version(self, input: Option<i64>) -> Self
The current version of the thing record in the registry.
To avoid unintentional changes to the information in the registry, you can pass the version information in the expectedVersion parameter of the UpdateThing and DeleteThing calls.
sourcepub fn billing_group_name(self, input: impl Into<String>) -> Self
pub fn billing_group_name(self, input: impl Into<String>) -> Self
The name of the billing group the thing belongs to.
sourcepub fn set_billing_group_name(self, input: Option<String>) -> Self
pub fn set_billing_group_name(self, input: Option<String>) -> Self
The name of the billing group the thing belongs to.
sourcepub fn build(self) -> DescribeThingOutput
pub fn build(self) -> DescribeThingOutput
Consumes the builder and constructs a DescribeThingOutput.
Trait Implementations§
source§impl Clone for DescribeThingOutputBuilder
impl Clone for DescribeThingOutputBuilder
source§fn clone(&self) -> DescribeThingOutputBuilder
fn clone(&self) -> DescribeThingOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeThingOutputBuilder
impl Debug for DescribeThingOutputBuilder
source§impl Default for DescribeThingOutputBuilder
impl Default for DescribeThingOutputBuilder
source§fn default() -> DescribeThingOutputBuilder
fn default() -> DescribeThingOutputBuilder
source§impl PartialEq<DescribeThingOutputBuilder> for DescribeThingOutputBuilder
impl PartialEq<DescribeThingOutputBuilder> for DescribeThingOutputBuilder
source§fn eq(&self, other: &DescribeThingOutputBuilder) -> bool
fn eq(&self, other: &DescribeThingOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.