Struct aws_sdk_securityhub::types::AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
source · #[non_exhaustive]pub struct AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails {
pub date: Option<String>,
pub days: Option<i32>,
pub storage_class: Option<String>,
}Expand description
A rule for when objects transition to specific storage classes.
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.date: Option<String>A date on which to transition objects to the specified storage class. If you provide Date, you cannot provide Days.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.
days: Option<i32>The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.
storage_class: Option<String>The storage class to transition the object to. Valid values are as follows:
-
DEEP_ARCHIVE -
GLACIER -
INTELLIGENT_TIERING -
ONEZONE_IA -
STANDARD_IA
Implementations§
source§impl AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
impl AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
sourcepub fn date(&self) -> Option<&str>
pub fn date(&self) -> Option<&str>
A date on which to transition objects to the specified storage class. If you provide Date, you cannot provide Days.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.
sourcepub fn days(&self) -> Option<i32>
pub fn days(&self) -> Option<i32>
The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.
sourcepub fn storage_class(&self) -> Option<&str>
pub fn storage_class(&self) -> Option<&str>
The storage class to transition the object to. Valid values are as follows:
-
DEEP_ARCHIVE -
GLACIER -
INTELLIGENT_TIERING -
ONEZONE_IA -
STANDARD_IA
source§impl AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
impl AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
sourcepub fn builder(
) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
pub fn builder( ) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
Creates a new builder-style object to manufacture AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.
Trait Implementations§
source§impl Clone for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
impl Clone for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
source§fn clone(
&self
) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
fn clone( &self ) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
impl PartialEq for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
source§fn eq(
&self,
other: &AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
) -> bool
fn eq( &self, other: &AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails ) -> bool
self and other values to be equal, and is used
by ==.