#[non_exhaustive]pub struct UpdateDevicesInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDevicesInput
.
Implementations§
source§impl UpdateDevicesInputBuilder
impl UpdateDevicesInputBuilder
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.
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 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
.
List of devices to register with Edge Manager agent.
sourcepub fn set_devices(self, input: Option<Vec<Device>>) -> Self
pub fn set_devices(self, input: Option<Vec<Device>>) -> Self
List of devices to register with Edge Manager agent.
sourcepub fn get_devices(&self) -> &Option<Vec<Device>>
pub fn get_devices(&self) -> &Option<Vec<Device>>
List of devices to register with Edge Manager agent.
sourcepub fn build(self) -> Result<UpdateDevicesInput, BuildError>
pub fn build(self) -> Result<UpdateDevicesInput, BuildError>
Consumes the builder and constructs a UpdateDevicesInput
.
source§impl UpdateDevicesInputBuilder
impl UpdateDevicesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDevicesOutput, SdkError<UpdateDevicesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDevicesOutput, SdkError<UpdateDevicesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDevicesInputBuilder
impl Clone for UpdateDevicesInputBuilder
source§fn clone(&self) -> UpdateDevicesInputBuilder
fn clone(&self) -> UpdateDevicesInputBuilder
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 UpdateDevicesInputBuilder
impl Debug for UpdateDevicesInputBuilder
source§impl Default for UpdateDevicesInputBuilder
impl Default for UpdateDevicesInputBuilder
source§fn default() -> UpdateDevicesInputBuilder
fn default() -> UpdateDevicesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateDevicesInputBuilder> for UpdateDevicesInputBuilder
impl PartialEq<UpdateDevicesInputBuilder> for UpdateDevicesInputBuilder
source§fn eq(&self, other: &UpdateDevicesInputBuilder) -> bool
fn eq(&self, other: &UpdateDevicesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDevicesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDevicesInputBuilder
impl Send for UpdateDevicesInputBuilder
impl Sync for UpdateDevicesInputBuilder
impl Unpin for UpdateDevicesInputBuilder
impl UnwindSafe for UpdateDevicesInputBuilder
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