Struct aws_sdk_s3::model::NoncurrentVersionTransition [−][src]
#[non_exhaustive]pub struct NoncurrentVersionTransition {
pub noncurrent_days: i32,
pub storage_class: Option<TransitionStorageClass>,
}
Expand description
Container for the transition rule that describes when noncurrent objects transition to
the STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
,
GLACIER
, or DEEP_ARCHIVE
storage class. If your bucket is
versioning-enabled (or versioning is suspended), you can set this action to request that
Amazon S3 transition noncurrent object versions to the STANDARD_IA
,
ONEZONE_IA
, INTELLIGENT_TIERING
, GLACIER
, or
DEEP_ARCHIVE
storage class at a specific period in the object's
lifetime.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.noncurrent_days: i32
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent in the Amazon S3 User Guide.
storage_class: Option<TransitionStorageClass>
The class of storage used to store the object.
Implementations
Creates a new builder-style object to manufacture NoncurrentVersionTransition
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NoncurrentVersionTransition
impl Send for NoncurrentVersionTransition
impl Sync for NoncurrentVersionTransition
impl Unpin for NoncurrentVersionTransition
impl UnwindSafe for NoncurrentVersionTransition
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more