Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::TransitionBuilder
pub struct TransitionBuilder { /* private fields */ }
Expand description
A builder for Transition
.
Implementations§
§impl TransitionBuilder
impl TransitionBuilder
pub fn date(self, input: DateTime) -> TransitionBuilder
pub fn date(self, input: DateTime) -> TransitionBuilder
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.
pub fn set_date(self, input: Option<DateTime>) -> TransitionBuilder
pub fn set_date(self, input: Option<DateTime>) -> TransitionBuilder
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.
pub fn get_date(&self) -> &Option<DateTime>
pub fn get_date(&self) -> &Option<DateTime>
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.
pub fn days(self, input: i32) -> TransitionBuilder
pub fn days(self, input: i32) -> TransitionBuilder
Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.
pub fn set_days(self, input: Option<i32>) -> TransitionBuilder
pub fn set_days(self, input: Option<i32>) -> TransitionBuilder
Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.
pub fn get_days(&self) -> &Option<i32>
pub fn get_days(&self) -> &Option<i32>
Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.
pub fn storage_class(self, input: TransitionStorageClass) -> TransitionBuilder
pub fn storage_class(self, input: TransitionStorageClass) -> TransitionBuilder
The storage class to which you want the object to transition.
pub fn set_storage_class(
self,
input: Option<TransitionStorageClass>
) -> TransitionBuilder
pub fn set_storage_class( self, input: Option<TransitionStorageClass> ) -> TransitionBuilder
The storage class to which you want the object to transition.
pub fn get_storage_class(&self) -> &Option<TransitionStorageClass>
pub fn get_storage_class(&self) -> &Option<TransitionStorageClass>
The storage class to which you want the object to transition.
pub fn build(self) -> Transition
pub fn build(self) -> Transition
Consumes the builder and constructs a Transition
.
Trait Implementations§
§impl Clone for TransitionBuilder
impl Clone for TransitionBuilder
§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 more§impl Debug for TransitionBuilder
impl Debug for TransitionBuilder
§impl Default for TransitionBuilder
impl Default for TransitionBuilder
§fn default() -> TransitionBuilder
fn default() -> TransitionBuilder
§impl PartialEq<TransitionBuilder> for TransitionBuilder
impl PartialEq<TransitionBuilder> for TransitionBuilder
§fn eq(&self, other: &TransitionBuilder) -> bool
fn eq(&self, other: &TransitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.