Struct aws_sdk_s3::types::MetricsConfiguration
source · #[non_exhaustive]pub struct MetricsConfiguration { /* private fields */ }
Expand description
Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see PutBucketMetricsConfiguration.
Implementations§
source§impl MetricsConfiguration
impl MetricsConfiguration
sourcepub fn filter(&self) -> Option<&MetricsFilter>
pub fn filter(&self) -> Option<&MetricsFilter>
Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).
source§impl MetricsConfiguration
impl MetricsConfiguration
sourcepub fn builder() -> MetricsConfigurationBuilder
pub fn builder() -> MetricsConfigurationBuilder
Creates a new builder-style object to manufacture MetricsConfiguration
.
Trait Implementations§
source§impl Clone for MetricsConfiguration
impl Clone for MetricsConfiguration
source§fn clone(&self) -> MetricsConfiguration
fn clone(&self) -> MetricsConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MetricsConfiguration
impl Debug for MetricsConfiguration
source§impl PartialEq<MetricsConfiguration> for MetricsConfiguration
impl PartialEq<MetricsConfiguration> for MetricsConfiguration
source§fn eq(&self, other: &MetricsConfiguration) -> bool
fn eq(&self, other: &MetricsConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MetricsConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for MetricsConfiguration
impl Send for MetricsConfiguration
impl Sync for MetricsConfiguration
impl Unpin for MetricsConfiguration
impl UnwindSafe for MetricsConfiguration
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
Mutably borrows from an owned value. Read more