Struct aws_sdk_s3::types::builders::AnalyticsConfigurationBuilder
source · #[non_exhaustive]pub struct AnalyticsConfigurationBuilder { /* private fields */ }
Expand description
A builder for AnalyticsConfiguration
.
Implementations§
source§impl AnalyticsConfigurationBuilder
impl AnalyticsConfigurationBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID that identifies the analytics 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 that identifies the analytics configuration.
sourcepub fn filter(self, input: AnalyticsFilter) -> Self
pub fn filter(self, input: AnalyticsFilter) -> Self
The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.
sourcepub fn set_filter(self, input: Option<AnalyticsFilter>) -> Self
pub fn set_filter(self, input: Option<AnalyticsFilter>) -> Self
The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.
sourcepub fn get_filter(&self) -> &Option<AnalyticsFilter>
pub fn get_filter(&self) -> &Option<AnalyticsFilter>
The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.
sourcepub fn storage_class_analysis(self, input: StorageClassAnalysis) -> Self
pub fn storage_class_analysis(self, input: StorageClassAnalysis) -> Self
Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
This field is required.sourcepub fn set_storage_class_analysis(
self,
input: Option<StorageClassAnalysis>,
) -> Self
pub fn set_storage_class_analysis( self, input: Option<StorageClassAnalysis>, ) -> Self
Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
sourcepub fn get_storage_class_analysis(&self) -> &Option<StorageClassAnalysis>
pub fn get_storage_class_analysis(&self) -> &Option<StorageClassAnalysis>
Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
sourcepub fn build(self) -> Result<AnalyticsConfiguration, BuildError>
pub fn build(self) -> Result<AnalyticsConfiguration, BuildError>
Consumes the builder and constructs a AnalyticsConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AnalyticsConfigurationBuilder
impl Clone for AnalyticsConfigurationBuilder
source§fn clone(&self) -> AnalyticsConfigurationBuilder
fn clone(&self) -> AnalyticsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AnalyticsConfigurationBuilder
impl Default for AnalyticsConfigurationBuilder
source§fn default() -> AnalyticsConfigurationBuilder
fn default() -> AnalyticsConfigurationBuilder
source§impl PartialEq for AnalyticsConfigurationBuilder
impl PartialEq for AnalyticsConfigurationBuilder
source§fn eq(&self, other: &AnalyticsConfigurationBuilder) -> bool
fn eq(&self, other: &AnalyticsConfigurationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AnalyticsConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AnalyticsConfigurationBuilder
impl RefUnwindSafe for AnalyticsConfigurationBuilder
impl Send for AnalyticsConfigurationBuilder
impl Sync for AnalyticsConfigurationBuilder
impl Unpin for AnalyticsConfigurationBuilder
impl UnwindSafe for AnalyticsConfigurationBuilder
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
)