#[non_exhaustive]pub struct PutBucketLifecycleConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for PutBucketLifecycleConfigurationOutput
.
Implementations§
source§impl PutBucketLifecycleConfigurationOutputBuilder
impl PutBucketLifecycleConfigurationOutputBuilder
sourcepub fn transition_default_minimum_object_size(
self,
input: TransitionDefaultMinimumObjectSize,
) -> Self
pub fn transition_default_minimum_object_size( self, input: TransitionDefaultMinimumObjectSize, ) -> Self
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.
sourcepub fn set_transition_default_minimum_object_size(
self,
input: Option<TransitionDefaultMinimumObjectSize>,
) -> Self
pub fn set_transition_default_minimum_object_size( self, input: Option<TransitionDefaultMinimumObjectSize>, ) -> Self
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.
sourcepub fn get_transition_default_minimum_object_size(
&self,
) -> &Option<TransitionDefaultMinimumObjectSize>
pub fn get_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.
sourcepub fn build(self) -> PutBucketLifecycleConfigurationOutput
pub fn build(self) -> PutBucketLifecycleConfigurationOutput
Consumes the builder and constructs a PutBucketLifecycleConfigurationOutput
.
Trait Implementations§
source§impl Clone for PutBucketLifecycleConfigurationOutputBuilder
impl Clone for PutBucketLifecycleConfigurationOutputBuilder
source§fn clone(&self) -> PutBucketLifecycleConfigurationOutputBuilder
fn clone(&self) -> PutBucketLifecycleConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutBucketLifecycleConfigurationOutputBuilder
impl Default for PutBucketLifecycleConfigurationOutputBuilder
source§fn default() -> PutBucketLifecycleConfigurationOutputBuilder
fn default() -> PutBucketLifecycleConfigurationOutputBuilder
source§impl PartialEq for PutBucketLifecycleConfigurationOutputBuilder
impl PartialEq for PutBucketLifecycleConfigurationOutputBuilder
source§fn eq(&self, other: &PutBucketLifecycleConfigurationOutputBuilder) -> bool
fn eq(&self, other: &PutBucketLifecycleConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutBucketLifecycleConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for PutBucketLifecycleConfigurationOutputBuilder
impl RefUnwindSafe for PutBucketLifecycleConfigurationOutputBuilder
impl Send for PutBucketLifecycleConfigurationOutputBuilder
impl Sync for PutBucketLifecycleConfigurationOutputBuilder
impl Unpin for PutBucketLifecycleConfigurationOutputBuilder
impl UnwindSafe for PutBucketLifecycleConfigurationOutputBuilder
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