Struct aws_sdk_s3::model::transition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Transition
.
Implementations§
source§impl Builder
impl Builder
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
.