Struct aws_sdk_s3::types::builders::TieringBuilder
source · #[non_exhaustive]pub struct TieringBuilder { /* private fields */ }
Expand description
A builder for Tiering
.
Implementations§
source§impl TieringBuilder
impl TieringBuilder
sourcepub fn days(self, input: i32) -> Self
pub fn days(self, input: i32) -> Self
The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days).
This field is required.sourcepub fn set_days(self, input: Option<i32>) -> Self
pub fn set_days(self, input: Option<i32>) -> Self
The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days).
sourcepub fn get_days(&self) -> &Option<i32>
pub fn get_days(&self) -> &Option<i32>
The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days).
sourcepub fn access_tier(self, input: IntelligentTieringAccessTier) -> Self
pub fn access_tier(self, input: IntelligentTieringAccessTier) -> Self
S3 Intelligent-Tiering access tier. See Storage class for automatically optimizing frequently and infrequently accessed objects for a list of access tiers in the S3 Intelligent-Tiering storage class.
This field is required.sourcepub fn set_access_tier(
self,
input: Option<IntelligentTieringAccessTier>,
) -> Self
pub fn set_access_tier( self, input: Option<IntelligentTieringAccessTier>, ) -> Self
S3 Intelligent-Tiering access tier. See Storage class for automatically optimizing frequently and infrequently accessed objects for a list of access tiers in the S3 Intelligent-Tiering storage class.
sourcepub fn get_access_tier(&self) -> &Option<IntelligentTieringAccessTier>
pub fn get_access_tier(&self) -> &Option<IntelligentTieringAccessTier>
S3 Intelligent-Tiering access tier. See Storage class for automatically optimizing frequently and infrequently accessed objects for a list of access tiers in the S3 Intelligent-Tiering storage class.
Trait Implementations§
source§impl Clone for TieringBuilder
impl Clone for TieringBuilder
source§fn clone(&self) -> TieringBuilder
fn clone(&self) -> TieringBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TieringBuilder
impl Debug for TieringBuilder
source§impl Default for TieringBuilder
impl Default for TieringBuilder
source§fn default() -> TieringBuilder
fn default() -> TieringBuilder
source§impl PartialEq for TieringBuilder
impl PartialEq for TieringBuilder
impl StructuralPartialEq for TieringBuilder
Auto Trait Implementations§
impl Freeze for TieringBuilder
impl RefUnwindSafe for TieringBuilder
impl Send for TieringBuilder
impl Sync for TieringBuilder
impl Unpin for TieringBuilder
impl UnwindSafe for TieringBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)