#[non_exhaustive]pub struct IntelligentTieringConfigurationBuilder { /* private fields */ }
Expand description
A builder for IntelligentTieringConfiguration
.
Implementations§
source§impl IntelligentTieringConfigurationBuilder
impl IntelligentTieringConfigurationBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID used to identify the S3 Intelligent-Tiering configuration.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID used to identify the S3 Intelligent-Tiering configuration.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The ID used to identify the S3 Intelligent-Tiering configuration.
sourcepub fn filter(self, input: IntelligentTieringFilter) -> Self
pub fn filter(self, input: IntelligentTieringFilter) -> Self
Specifies a bucket filter. The configuration only includes objects that meet the filter's criteria.
sourcepub fn set_filter(self, input: Option<IntelligentTieringFilter>) -> Self
pub fn set_filter(self, input: Option<IntelligentTieringFilter>) -> Self
Specifies a bucket filter. The configuration only includes objects that meet the filter's criteria.
sourcepub fn get_filter(&self) -> &Option<IntelligentTieringFilter>
pub fn get_filter(&self) -> &Option<IntelligentTieringFilter>
Specifies a bucket filter. The configuration only includes objects that meet the filter's criteria.
sourcepub fn status(self, input: IntelligentTieringStatus) -> Self
pub fn status(self, input: IntelligentTieringStatus) -> Self
Specifies the status of the configuration.
This field is required.sourcepub fn set_status(self, input: Option<IntelligentTieringStatus>) -> Self
pub fn set_status(self, input: Option<IntelligentTieringStatus>) -> Self
Specifies the status of the configuration.
sourcepub fn get_status(&self) -> &Option<IntelligentTieringStatus>
pub fn get_status(&self) -> &Option<IntelligentTieringStatus>
Specifies the status of the configuration.
sourcepub fn tierings(self, input: Tiering) -> Self
pub fn tierings(self, input: Tiering) -> Self
Appends an item to tierings
.
To override the contents of this collection use set_tierings
.
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.
sourcepub fn set_tierings(self, input: Option<Vec<Tiering>>) -> Self
pub fn set_tierings(self, input: Option<Vec<Tiering>>) -> Self
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.
sourcepub fn get_tierings(&self) -> &Option<Vec<Tiering>>
pub fn get_tierings(&self) -> &Option<Vec<Tiering>>
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.
sourcepub fn build(self) -> Result<IntelligentTieringConfiguration, BuildError>
pub fn build(self) -> Result<IntelligentTieringConfiguration, BuildError>
Consumes the builder and constructs a IntelligentTieringConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for IntelligentTieringConfigurationBuilder
impl Clone for IntelligentTieringConfigurationBuilder
source§fn clone(&self) -> IntelligentTieringConfigurationBuilder
fn clone(&self) -> IntelligentTieringConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for IntelligentTieringConfigurationBuilder
impl Default for IntelligentTieringConfigurationBuilder
source§fn default() -> IntelligentTieringConfigurationBuilder
fn default() -> IntelligentTieringConfigurationBuilder
source§impl PartialEq for IntelligentTieringConfigurationBuilder
impl PartialEq for IntelligentTieringConfigurationBuilder
source§fn eq(&self, other: &IntelligentTieringConfigurationBuilder) -> bool
fn eq(&self, other: &IntelligentTieringConfigurationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for IntelligentTieringConfigurationBuilder
Auto Trait Implementations§
impl Freeze for IntelligentTieringConfigurationBuilder
impl RefUnwindSafe for IntelligentTieringConfigurationBuilder
impl Send for IntelligentTieringConfigurationBuilder
impl Sync for IntelligentTieringConfigurationBuilder
impl Unpin for IntelligentTieringConfigurationBuilder
impl UnwindSafe for IntelligentTieringConfigurationBuilder
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
)