Struct aws_sdk_fsx::operation::restore_volume_from_snapshot::builders::RestoreVolumeFromSnapshotOutputBuilder
source · #[non_exhaustive]pub struct RestoreVolumeFromSnapshotOutputBuilder { /* private fields */ }
Expand description
A builder for RestoreVolumeFromSnapshotOutput
.
Implementations§
source§impl RestoreVolumeFromSnapshotOutputBuilder
impl RestoreVolumeFromSnapshotOutputBuilder
sourcepub fn volume_id(self, input: impl Into<String>) -> Self
pub fn volume_id(self, input: impl Into<String>) -> Self
The ID of the volume that you restored.
sourcepub fn set_volume_id(self, input: Option<String>) -> Self
pub fn set_volume_id(self, input: Option<String>) -> Self
The ID of the volume that you restored.
sourcepub fn get_volume_id(&self) -> &Option<String>
pub fn get_volume_id(&self) -> &Option<String>
The ID of the volume that you restored.
sourcepub fn lifecycle(self, input: VolumeLifecycle) -> Self
pub fn lifecycle(self, input: VolumeLifecycle) -> Self
The lifecycle state of the volume being restored.
sourcepub fn set_lifecycle(self, input: Option<VolumeLifecycle>) -> Self
pub fn set_lifecycle(self, input: Option<VolumeLifecycle>) -> Self
The lifecycle state of the volume being restored.
sourcepub fn get_lifecycle(&self) -> &Option<VolumeLifecycle>
pub fn get_lifecycle(&self) -> &Option<VolumeLifecycle>
The lifecycle state of the volume being restored.
sourcepub fn administrative_actions(self, input: AdministrativeAction) -> Self
pub fn administrative_actions(self, input: AdministrativeAction) -> Self
Appends an item to administrative_actions
.
To override the contents of this collection use set_administrative_actions
.
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
sourcepub fn set_administrative_actions(
self,
input: Option<Vec<AdministrativeAction>>
) -> Self
pub fn set_administrative_actions( self, input: Option<Vec<AdministrativeAction>> ) -> Self
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
sourcepub fn get_administrative_actions(&self) -> &Option<Vec<AdministrativeAction>>
pub fn get_administrative_actions(&self) -> &Option<Vec<AdministrativeAction>>
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
sourcepub fn build(self) -> RestoreVolumeFromSnapshotOutput
pub fn build(self) -> RestoreVolumeFromSnapshotOutput
Consumes the builder and constructs a RestoreVolumeFromSnapshotOutput
.
Trait Implementations§
source§impl Clone for RestoreVolumeFromSnapshotOutputBuilder
impl Clone for RestoreVolumeFromSnapshotOutputBuilder
source§fn clone(&self) -> RestoreVolumeFromSnapshotOutputBuilder
fn clone(&self) -> RestoreVolumeFromSnapshotOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RestoreVolumeFromSnapshotOutputBuilder
impl Default for RestoreVolumeFromSnapshotOutputBuilder
source§fn default() -> RestoreVolumeFromSnapshotOutputBuilder
fn default() -> RestoreVolumeFromSnapshotOutputBuilder
source§impl PartialEq for RestoreVolumeFromSnapshotOutputBuilder
impl PartialEq for RestoreVolumeFromSnapshotOutputBuilder
source§fn eq(&self, other: &RestoreVolumeFromSnapshotOutputBuilder) -> bool
fn eq(&self, other: &RestoreVolumeFromSnapshotOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RestoreVolumeFromSnapshotOutputBuilder
Auto Trait Implementations§
impl Freeze for RestoreVolumeFromSnapshotOutputBuilder
impl RefUnwindSafe for RestoreVolumeFromSnapshotOutputBuilder
impl Send for RestoreVolumeFromSnapshotOutputBuilder
impl Sync for RestoreVolumeFromSnapshotOutputBuilder
impl Unpin for RestoreVolumeFromSnapshotOutputBuilder
impl UnwindSafe for RestoreVolumeFromSnapshotOutputBuilder
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
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>
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>
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 more