Struct aws_sdk_iot1clickdevices::operation::get_device_methods::builders::GetDeviceMethodsOutputBuilder
source · #[non_exhaustive]pub struct GetDeviceMethodsOutputBuilder { /* private fields */ }Expand description
A builder for GetDeviceMethodsOutput.
Implementations§
source§impl GetDeviceMethodsOutputBuilder
impl GetDeviceMethodsOutputBuilder
sourcepub fn device_methods(self, input: DeviceMethod) -> Self
pub fn device_methods(self, input: DeviceMethod) -> Self
Appends an item to device_methods.
To override the contents of this collection use set_device_methods.
List of available device APIs.
sourcepub fn set_device_methods(self, input: Option<Vec<DeviceMethod>>) -> Self
pub fn set_device_methods(self, input: Option<Vec<DeviceMethod>>) -> Self
List of available device APIs.
sourcepub fn get_device_methods(&self) -> &Option<Vec<DeviceMethod>>
pub fn get_device_methods(&self) -> &Option<Vec<DeviceMethod>>
List of available device APIs.
sourcepub fn build(self) -> GetDeviceMethodsOutput
pub fn build(self) -> GetDeviceMethodsOutput
Consumes the builder and constructs a GetDeviceMethodsOutput.
Trait Implementations§
source§impl Clone for GetDeviceMethodsOutputBuilder
impl Clone for GetDeviceMethodsOutputBuilder
source§fn clone(&self) -> GetDeviceMethodsOutputBuilder
fn clone(&self) -> GetDeviceMethodsOutputBuilder
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 GetDeviceMethodsOutputBuilder
impl Default for GetDeviceMethodsOutputBuilder
source§fn default() -> GetDeviceMethodsOutputBuilder
fn default() -> GetDeviceMethodsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetDeviceMethodsOutputBuilder> for GetDeviceMethodsOutputBuilder
impl PartialEq<GetDeviceMethodsOutputBuilder> for GetDeviceMethodsOutputBuilder
source§fn eq(&self, other: &GetDeviceMethodsOutputBuilder) -> bool
fn eq(&self, other: &GetDeviceMethodsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetDeviceMethodsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetDeviceMethodsOutputBuilder
impl Send for GetDeviceMethodsOutputBuilder
impl Sync for GetDeviceMethodsOutputBuilder
impl Unpin for GetDeviceMethodsOutputBuilder
impl UnwindSafe for GetDeviceMethodsOutputBuilder
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