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 ==
.