#[non_exhaustive]pub struct DescribeDeviceInputBuilder { /* private fields */ }
Expand description
A builder for DescribeDeviceInput
.
Implementations§
source§impl DescribeDeviceInputBuilder
impl DescribeDeviceInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Next token of device description.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Next token of device description.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Next token of device description.
sourcepub fn device_name(self, input: impl Into<String>) -> Self
pub fn device_name(self, input: impl Into<String>) -> Self
The unique ID of the device.
This field is required.sourcepub fn set_device_name(self, input: Option<String>) -> Self
pub fn set_device_name(self, input: Option<String>) -> Self
The unique ID of the device.
sourcepub fn get_device_name(&self) -> &Option<String>
pub fn get_device_name(&self) -> &Option<String>
The unique ID of the device.
sourcepub fn device_fleet_name(self, input: impl Into<String>) -> Self
pub fn device_fleet_name(self, input: impl Into<String>) -> Self
The name of the fleet the devices belong to.
This field is required.sourcepub fn set_device_fleet_name(self, input: Option<String>) -> Self
pub fn set_device_fleet_name(self, input: Option<String>) -> Self
The name of the fleet the devices belong to.
sourcepub fn get_device_fleet_name(&self) -> &Option<String>
pub fn get_device_fleet_name(&self) -> &Option<String>
The name of the fleet the devices belong to.
sourcepub fn build(self) -> Result<DescribeDeviceInput, BuildError>
pub fn build(self) -> Result<DescribeDeviceInput, BuildError>
Consumes the builder and constructs a DescribeDeviceInput
.
source§impl DescribeDeviceInputBuilder
impl DescribeDeviceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeDeviceOutput, SdkError<DescribeDeviceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeDeviceOutput, SdkError<DescribeDeviceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeDeviceInputBuilder
impl Clone for DescribeDeviceInputBuilder
source§fn clone(&self) -> DescribeDeviceInputBuilder
fn clone(&self) -> DescribeDeviceInputBuilder
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 DescribeDeviceInputBuilder
impl Debug for DescribeDeviceInputBuilder
source§impl Default for DescribeDeviceInputBuilder
impl Default for DescribeDeviceInputBuilder
source§fn default() -> DescribeDeviceInputBuilder
fn default() -> DescribeDeviceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeDeviceInputBuilder
impl PartialEq for DescribeDeviceInputBuilder
source§fn eq(&self, other: &DescribeDeviceInputBuilder) -> bool
fn eq(&self, other: &DescribeDeviceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeDeviceInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeDeviceInputBuilder
impl RefUnwindSafe for DescribeDeviceInputBuilder
impl Send for DescribeDeviceInputBuilder
impl Sync for DescribeDeviceInputBuilder
impl Unpin for DescribeDeviceInputBuilder
impl UnwindSafe for DescribeDeviceInputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.