#[non_exhaustive]pub struct PutBucketLifecycleConfigurationOutput {
pub transition_default_minimum_object_size: Option<TransitionDefaultMinimumObjectSize>,
/* private fields */
}
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.transition_default_minimum_object_size: Option<TransitionDefaultMinimumObjectSize>
Indicates which default minimum object size behavior is applied to the lifecycle configuration.
This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
-
all_storage_classes_128K
- Objects smaller than 128 KB will not transition to any storage class by default. -
varies_by_storage_class
- Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB.
To customize the minimum object size for any transition you can add a filter that specifies a custom ObjectSizeGreaterThan
or ObjectSizeLessThan
in the body of your transition rule. Custom filters always take precedence over the default transition behavior.
Implementations§
source§impl PutBucketLifecycleConfigurationOutput
impl PutBucketLifecycleConfigurationOutput
sourcepub fn transition_default_minimum_object_size(
&self,
) -> Option<&TransitionDefaultMinimumObjectSize>
pub fn transition_default_minimum_object_size( &self, ) -> Option<&TransitionDefaultMinimumObjectSize>
Indicates which default minimum object size behavior is applied to the lifecycle configuration.
This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
-
all_storage_classes_128K
- Objects smaller than 128 KB will not transition to any storage class by default. -
varies_by_storage_class
- Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB.
To customize the minimum object size for any transition you can add a filter that specifies a custom ObjectSizeGreaterThan
or ObjectSizeLessThan
in the body of your transition rule. Custom filters always take precedence over the default transition behavior.
source§impl PutBucketLifecycleConfigurationOutput
impl PutBucketLifecycleConfigurationOutput
sourcepub fn builder() -> PutBucketLifecycleConfigurationOutputBuilder
pub fn builder() -> PutBucketLifecycleConfigurationOutputBuilder
Creates a new builder-style object to manufacture PutBucketLifecycleConfigurationOutput
.
Trait Implementations§
source§impl Clone for PutBucketLifecycleConfigurationOutput
impl Clone for PutBucketLifecycleConfigurationOutput
source§fn clone(&self) -> PutBucketLifecycleConfigurationOutput
fn clone(&self) -> PutBucketLifecycleConfigurationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PutBucketLifecycleConfigurationOutput
impl PartialEq for PutBucketLifecycleConfigurationOutput
source§fn eq(&self, other: &PutBucketLifecycleConfigurationOutput) -> bool
fn eq(&self, other: &PutBucketLifecycleConfigurationOutput) -> bool
self
and other
values to be equal, and is used by ==
.source§impl RequestId for PutBucketLifecycleConfigurationOutput
impl RequestId for PutBucketLifecycleConfigurationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.source§impl RequestIdExt for PutBucketLifecycleConfigurationOutput
impl RequestIdExt for PutBucketLifecycleConfigurationOutput
source§fn extended_request_id(&self) -> Option<&str>
fn extended_request_id(&self) -> Option<&str>
impl StructuralPartialEq for PutBucketLifecycleConfigurationOutput
Auto Trait Implementations§
impl Freeze for PutBucketLifecycleConfigurationOutput
impl RefUnwindSafe for PutBucketLifecycleConfigurationOutput
impl Send for PutBucketLifecycleConfigurationOutput
impl Sync for PutBucketLifecycleConfigurationOutput
impl Unpin for PutBucketLifecycleConfigurationOutput
impl UnwindSafe for PutBucketLifecycleConfigurationOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more