MetricsConfiguration class
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 PUT Bucket metrics in the Amazon Simple Storage Service API Reference.
Constructors
- MetricsConfiguration({required String id, MetricsFilter? filter})
- MetricsConfiguration.fromXml(XmlElement elem)
-
factory
Properties
- filter → 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, a tag, or a conjunction (MetricsAndOperator).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID used to identify the metrics configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toXml(
String elemName, {List< XmlAttribute> ? attributes}) → XmlElement
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited