#[non_exhaustive]pub struct UpdateDeviceInput {
pub id: Option<String>,
pub name: Option<String>,
pub desired_software_set_id: Option<String>,
pub software_set_update_schedule: Option<SoftwareSetUpdateSchedule>,
pub kms_key_arn: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>The ID of the device to update.
name: Option<String>The name of the device to update.
desired_software_set_id: Option<String>The ID of the software set to apply.
software_set_update_schedule: Option<SoftwareSetUpdateSchedule>An option to define if software updates should be applied within a maintenance window.
kms_key_arn: Option<String>The Amazon Resource Name (ARN) of the Key Management Service key to use for the update.
Implementations§
source§impl UpdateDeviceInput
impl UpdateDeviceInput
sourcepub fn desired_software_set_id(&self) -> Option<&str>
pub fn desired_software_set_id(&self) -> Option<&str>
The ID of the software set to apply.
sourcepub fn software_set_update_schedule(&self) -> Option<&SoftwareSetUpdateSchedule>
pub fn software_set_update_schedule(&self) -> Option<&SoftwareSetUpdateSchedule>
An option to define if software updates should be applied within a maintenance window.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Key Management Service key to use for the update.
source§impl UpdateDeviceInput
impl UpdateDeviceInput
sourcepub fn builder() -> UpdateDeviceInputBuilder
pub fn builder() -> UpdateDeviceInputBuilder
Creates a new builder-style object to manufacture UpdateDeviceInput.
Trait Implementations§
source§impl Clone for UpdateDeviceInput
impl Clone for UpdateDeviceInput
source§fn clone(&self) -> UpdateDeviceInput
fn clone(&self) -> UpdateDeviceInput
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 UpdateDeviceInput
impl Debug for UpdateDeviceInput
source§impl PartialEq for UpdateDeviceInput
impl PartialEq for UpdateDeviceInput
source§fn eq(&self, other: &UpdateDeviceInput) -> bool
fn eq(&self, other: &UpdateDeviceInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateDeviceInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDeviceInput
impl Send for UpdateDeviceInput
impl Sync for UpdateDeviceInput
impl Unpin for UpdateDeviceInput
impl UnwindSafe for UpdateDeviceInput
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.