#[non_exhaustive]pub struct AnalyticsConfiguration {
pub id: String,
pub filter: Option<AnalyticsFilter>,
pub storage_class_analysis: Option<StorageClassAnalysis>,
}
Expand description
Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
The ID that identifies the analytics configuration.
filter: 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.
storage_class_analysis: Option<StorageClassAnalysis>
Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
Implementations§
source§impl AnalyticsConfiguration
impl AnalyticsConfiguration
sourcepub fn filter(&self) -> Option<&AnalyticsFilter>
pub fn 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) -> Option<&StorageClassAnalysis>
pub fn 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.
source§impl AnalyticsConfiguration
impl AnalyticsConfiguration
sourcepub fn builder() -> AnalyticsConfigurationBuilder
pub fn builder() -> AnalyticsConfigurationBuilder
Creates a new builder-style object to manufacture AnalyticsConfiguration
.
Trait Implementations§
source§impl Clone for AnalyticsConfiguration
impl Clone for AnalyticsConfiguration
source§fn clone(&self) -> AnalyticsConfiguration
fn clone(&self) -> AnalyticsConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalyticsConfiguration
impl Debug for AnalyticsConfiguration
source§impl PartialEq for AnalyticsConfiguration
impl PartialEq for AnalyticsConfiguration
impl StructuralPartialEq for AnalyticsConfiguration
Auto Trait Implementations§
impl Freeze for AnalyticsConfiguration
impl RefUnwindSafe for AnalyticsConfiguration
impl Send for AnalyticsConfiguration
impl Sync for AnalyticsConfiguration
impl Unpin for AnalyticsConfiguration
impl UnwindSafe for AnalyticsConfiguration
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more