Struct aws_sdk_fsx::types::builders::SnapshotBuilder
source · #[non_exhaustive]pub struct SnapshotBuilder { /* private fields */ }Expand description
A builder for Snapshot.
Implementations§
source§impl SnapshotBuilder
impl SnapshotBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn snapshot_id(self, input: impl Into<String>) -> Self
pub fn snapshot_id(self, input: impl Into<String>) -> Self
The ID of the snapshot.
sourcepub fn set_snapshot_id(self, input: Option<String>) -> Self
pub fn set_snapshot_id(self, input: Option<String>) -> Self
The ID of the snapshot.
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 the snapshot is of.
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 the snapshot is of.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
sourcepub fn lifecycle(self, input: SnapshotLifecycle) -> Self
pub fn lifecycle(self, input: SnapshotLifecycle) -> Self
The lifecycle status of the snapshot.
-
PENDING- Amazon FSx hasn't started creating the snapshot. -
CREATING- Amazon FSx is creating the snapshot. -
DELETING- Amazon FSx is deleting the snapshot. -
AVAILABLE- The snapshot is fully available.
sourcepub fn set_lifecycle(self, input: Option<SnapshotLifecycle>) -> Self
pub fn set_lifecycle(self, input: Option<SnapshotLifecycle>) -> Self
The lifecycle status of the snapshot.
-
PENDING- Amazon FSx hasn't started creating the snapshot. -
CREATING- Amazon FSx is creating the snapshot. -
DELETING- Amazon FSx is deleting the snapshot. -
AVAILABLE- The snapshot is fully available.
sourcepub fn lifecycle_transition_reason(
self,
input: LifecycleTransitionReason
) -> Self
pub fn lifecycle_transition_reason( self, input: LifecycleTransitionReason ) -> Self
Describes why a resource lifecycle state changed.
sourcepub fn set_lifecycle_transition_reason(
self,
input: Option<LifecycleTransitionReason>
) -> Self
pub fn set_lifecycle_transition_reason( self, input: Option<LifecycleTransitionReason> ) -> Self
Describes why a resource lifecycle state changed.
Appends an item to tags.
To override the contents of this collection use set_tags.
A list of Tag values, with a maximum of 50 elements.
A list of Tag values, with a maximum of 50 elements.
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.
Trait Implementations§
source§impl Clone for SnapshotBuilder
impl Clone for SnapshotBuilder
source§fn clone(&self) -> SnapshotBuilder
fn clone(&self) -> SnapshotBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SnapshotBuilder
impl Debug for SnapshotBuilder
source§impl Default for SnapshotBuilder
impl Default for SnapshotBuilder
source§fn default() -> SnapshotBuilder
fn default() -> SnapshotBuilder
source§impl PartialEq<SnapshotBuilder> for SnapshotBuilder
impl PartialEq<SnapshotBuilder> for SnapshotBuilder
source§fn eq(&self, other: &SnapshotBuilder) -> bool
fn eq(&self, other: &SnapshotBuilder) -> bool
self and other values to be equal, and is used
by ==.