#[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.
This field is required.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
impl StructuralPartialEq for UpdateDevicesInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDevicesInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.