Struct aws_sdk_s3::types::builders::TransitionBuilder
source · #[non_exhaustive]pub struct TransitionBuilder { /* private fields */ }
Expand description
A builder for Transition
.
Implementations§
source§impl TransitionBuilder
impl TransitionBuilder
sourcepub fn date(self, input: DateTime) -> Self
pub fn date(self, input: DateTime) -> Self
Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.
sourcepub fn set_date(self, input: Option<DateTime>) -> Self
pub fn set_date(self, input: Option<DateTime>) -> Self
Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.
sourcepub fn days(self, input: i32) -> Self
pub fn days(self, input: i32) -> Self
Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.
sourcepub fn set_days(self, input: Option<i32>) -> Self
pub fn set_days(self, input: Option<i32>) -> Self
Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.
sourcepub fn storage_class(self, input: TransitionStorageClass) -> Self
pub fn storage_class(self, input: TransitionStorageClass) -> Self
The storage class to which you want the object to transition.
sourcepub fn set_storage_class(self, input: Option<TransitionStorageClass>) -> Self
pub fn set_storage_class(self, input: Option<TransitionStorageClass>) -> Self
The storage class to which you want the object to transition.
sourcepub fn build(self) -> Transition
pub fn build(self) -> Transition
Consumes the builder and constructs a Transition
.
Trait Implementations§
source§impl Clone for TransitionBuilder
impl Clone for TransitionBuilder
source§fn clone(&self) -> TransitionBuilder
fn clone(&self) -> TransitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransitionBuilder
impl Debug for TransitionBuilder
source§impl Default for TransitionBuilder
impl Default for TransitionBuilder
source§fn default() -> TransitionBuilder
fn default() -> TransitionBuilder
source§impl PartialEq<TransitionBuilder> for TransitionBuilder
impl PartialEq<TransitionBuilder> for TransitionBuilder
source§fn eq(&self, other: &TransitionBuilder) -> bool
fn eq(&self, other: &TransitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.