#[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 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 build(self) -> Result<UpdateDevicesInput, BuildError>
pub fn build(self) -> Result<UpdateDevicesInput, BuildError>
Consumes the builder and constructs a UpdateDevicesInput
.
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 ==
.