#[non_exhaustive]pub struct UpdateDirectorySetupInput {
pub directory_id: Option<String>,
pub update_type: Option<UpdateType>,
pub os_update_settings: Option<OsUpdateSettings>,
pub create_snapshot_before_update: Option<bool>,
}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.directory_id: Option<String>The identifier of the directory on which you want to perform the update.
update_type: Option<UpdateType>The type of update that needs to be performed on the directory. For example, OS.
os_update_settings: Option<OsUpdateSettings>The settings for the OS update that needs to be performed on the directory.
create_snapshot_before_update: Option<bool>The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.
Implementations§
source§impl UpdateDirectorySetupInput
impl UpdateDirectorySetupInput
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The identifier of the directory on which you want to perform the update.
sourcepub fn update_type(&self) -> Option<&UpdateType>
pub fn update_type(&self) -> Option<&UpdateType>
The type of update that needs to be performed on the directory. For example, OS.
sourcepub fn os_update_settings(&self) -> Option<&OsUpdateSettings>
pub fn os_update_settings(&self) -> Option<&OsUpdateSettings>
The settings for the OS update that needs to be performed on the directory.
sourcepub fn create_snapshot_before_update(&self) -> Option<bool>
pub fn create_snapshot_before_update(&self) -> Option<bool>
The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.
source§impl UpdateDirectorySetupInput
impl UpdateDirectorySetupInput
sourcepub fn builder() -> UpdateDirectorySetupInputBuilder
pub fn builder() -> UpdateDirectorySetupInputBuilder
Creates a new builder-style object to manufacture UpdateDirectorySetupInput.
Trait Implementations§
source§impl Clone for UpdateDirectorySetupInput
impl Clone for UpdateDirectorySetupInput
source§fn clone(&self) -> UpdateDirectorySetupInput
fn clone(&self) -> UpdateDirectorySetupInput
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 UpdateDirectorySetupInput
impl Debug for UpdateDirectorySetupInput
source§impl PartialEq for UpdateDirectorySetupInput
impl PartialEq for UpdateDirectorySetupInput
source§fn eq(&self, other: &UpdateDirectorySetupInput) -> bool
fn eq(&self, other: &UpdateDirectorySetupInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateDirectorySetupInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDirectorySetupInput
impl Send for UpdateDirectorySetupInput
impl Sync for UpdateDirectorySetupInput
impl Unpin for UpdateDirectorySetupInput
impl UnwindSafe for UpdateDirectorySetupInput
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.