Struct aws_sdk_devicefarm::operation::list_device_instances::builders::ListDeviceInstancesOutputBuilder
source · #[non_exhaustive]pub struct ListDeviceInstancesOutputBuilder { /* private fields */ }Expand description
A builder for ListDeviceInstancesOutput.
Implementations§
source§impl ListDeviceInstancesOutputBuilder
impl ListDeviceInstancesOutputBuilder
sourcepub fn device_instances(self, input: DeviceInstance) -> Self
pub fn device_instances(self, input: DeviceInstance) -> Self
Appends an item to device_instances.
To override the contents of this collection use set_device_instances.
An object that contains information about your device instances.
sourcepub fn set_device_instances(self, input: Option<Vec<DeviceInstance>>) -> Self
pub fn set_device_instances(self, input: Option<Vec<DeviceInstance>>) -> Self
An object that contains information about your device instances.
sourcepub fn get_device_instances(&self) -> &Option<Vec<DeviceInstance>>
pub fn get_device_instances(&self) -> &Option<Vec<DeviceInstance>>
An object that contains information about your device instances.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An identifier that can be used in the next call to this operation to return the next set of items in the list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An identifier that can be used in the next call to this operation to return the next set of items in the list.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An identifier that can be used in the next call to this operation to return the next set of items in the list.
sourcepub fn build(self) -> ListDeviceInstancesOutput
pub fn build(self) -> ListDeviceInstancesOutput
Consumes the builder and constructs a ListDeviceInstancesOutput.
Trait Implementations§
source§impl Clone for ListDeviceInstancesOutputBuilder
impl Clone for ListDeviceInstancesOutputBuilder
source§fn clone(&self) -> ListDeviceInstancesOutputBuilder
fn clone(&self) -> ListDeviceInstancesOutputBuilder
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 Default for ListDeviceInstancesOutputBuilder
impl Default for ListDeviceInstancesOutputBuilder
source§fn default() -> ListDeviceInstancesOutputBuilder
fn default() -> ListDeviceInstancesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListDeviceInstancesOutputBuilder
impl PartialEq for ListDeviceInstancesOutputBuilder
source§fn eq(&self, other: &ListDeviceInstancesOutputBuilder) -> bool
fn eq(&self, other: &ListDeviceInstancesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListDeviceInstancesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListDeviceInstancesOutputBuilder
impl Send for ListDeviceInstancesOutputBuilder
impl Sync for ListDeviceInstancesOutputBuilder
impl Unpin for ListDeviceInstancesOutputBuilder
impl UnwindSafe for ListDeviceInstancesOutputBuilder
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.