Struct aws_sdk_securityhub::types::builders::AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
source · #[non_exhaustive]pub struct AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder { /* private fields */ }Expand description
Implementations§
source§impl AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
impl AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
sourcepub fn date(self, input: impl Into<String>) -> Self
pub fn date(self, input: impl Into<String>) -> Self
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 set_date(self, input: Option<String>) -> Self
pub fn set_date(self, input: Option<String>) -> Self
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 get_date(&self) -> &Option<String>
pub fn get_date(&self) -> &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.
sourcepub fn days(self, input: i32) -> Self
pub fn days(self, input: i32) -> Self
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 set_days(self, input: Option<i32>) -> Self
pub fn set_days(self, input: Option<i32>) -> Self
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 get_days(&self) -> &Option<i32>
pub fn get_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, input: impl Into<String>) -> Self
pub fn storage_class(self, input: impl Into<String>) -> Self
The storage class to transition the object to. Valid values are as follows:
-
DEEP_ARCHIVE -
GLACIER -
INTELLIGENT_TIERING -
ONEZONE_IA -
STANDARD_IA
sourcepub fn set_storage_class(self, input: Option<String>) -> Self
pub fn set_storage_class(self, input: Option<String>) -> Self
The storage class to transition the object to. Valid values are as follows:
-
DEEP_ARCHIVE -
GLACIER -
INTELLIGENT_TIERING -
ONEZONE_IA -
STANDARD_IA
sourcepub fn get_storage_class(&self) -> &Option<String>
pub fn get_storage_class(&self) -> &Option<String>
The storage class to transition the object to. Valid values are as follows:
-
DEEP_ARCHIVE -
GLACIER -
INTELLIGENT_TIERING -
ONEZONE_IA -
STANDARD_IA
sourcepub fn build(
self
) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
pub fn build( self ) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
Consumes the builder and constructs a AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.
Trait Implementations§
source§impl Clone for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
impl Clone for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
source§fn clone(
&self
) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
fn clone( &self ) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
impl Default for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
source§fn default(
) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
fn default( ) -> AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
source§impl PartialEq for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
impl PartialEq for AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
source§fn eq(
&self,
other: &AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder
) -> bool
fn eq( &self, other: &AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsBuilder ) -> bool
self and other values to be equal, and is used
by ==.