#[non_exhaustive]pub struct GetDevicesOutputBuilder { /* private fields */ }
Expand description
A builder for GetDevicesOutput
.
Implementations§
source§impl GetDevicesOutputBuilder
impl GetDevicesOutputBuilder
sourcepub fn devices(self, input: Device) -> Self
pub fn devices(self, input: Device) -> Self
Appends an item to devices
.
To override the contents of this collection use set_devices
.
The devices.
sourcepub fn set_devices(self, input: Option<Vec<Device>>) -> Self
pub fn set_devices(self, input: Option<Vec<Device>>) -> Self
The devices.
sourcepub fn get_devices(&self) -> &Option<Vec<Device>>
pub fn get_devices(&self) -> &Option<Vec<Device>>
The devices.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next page of results.
sourcepub fn build(self) -> GetDevicesOutput
pub fn build(self) -> GetDevicesOutput
Consumes the builder and constructs a GetDevicesOutput
.
Trait Implementations§
source§impl Clone for GetDevicesOutputBuilder
impl Clone for GetDevicesOutputBuilder
source§fn clone(&self) -> GetDevicesOutputBuilder
fn clone(&self) -> GetDevicesOutputBuilder
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 GetDevicesOutputBuilder
impl Debug for GetDevicesOutputBuilder
source§impl Default for GetDevicesOutputBuilder
impl Default for GetDevicesOutputBuilder
source§fn default() -> GetDevicesOutputBuilder
fn default() -> GetDevicesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetDevicesOutputBuilder
impl PartialEq for GetDevicesOutputBuilder
source§fn eq(&self, other: &GetDevicesOutputBuilder) -> bool
fn eq(&self, other: &GetDevicesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDevicesOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDevicesOutputBuilder
impl RefUnwindSafe for GetDevicesOutputBuilder
impl Send for GetDevicesOutputBuilder
impl Sync for GetDevicesOutputBuilder
impl Unpin for GetDevicesOutputBuilder
impl UnwindSafe for GetDevicesOutputBuilder
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.