MetricsFilter
Specifies a metrics configuration filter. The metrics configuration only includes objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator). For more information, see PutBucketMetricsConfiguration.
Inheritors
Types
The access point ARN used when evaluating a metrics filter.
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
The prefix used when evaluating a metrics filter.
The tag used when evaluating a metrics filter.
Functions
Casts this MetricsFilter as a AccessPointArn and retrieves its kotlin.String value. Throws an exception if the MetricsFilter is not a AccessPointArn.
Casts this MetricsFilter as a AccessPointArn and retrieves its kotlin.String value. Returns null if the MetricsFilter is not a AccessPointArn.
Casts this MetricsFilter as a And and retrieves its aws.sdk.kotlin.services.s3.model.MetricsAndOperator value. Throws an exception if the MetricsFilter is not a And.
Casts this MetricsFilter as a And and retrieves its aws.sdk.kotlin.services.s3.model.MetricsAndOperator value. Returns null if the MetricsFilter is not a And.
Casts this MetricsFilter as a Prefix and retrieves its kotlin.String value. Throws an exception if the MetricsFilter is not a Prefix.
Casts this MetricsFilter as a Prefix and retrieves its kotlin.String value. Returns null if the MetricsFilter is not a Prefix.
Casts this MetricsFilter as a Tag and retrieves its aws.sdk.kotlin.services.s3.model.Tag value. Throws an exception if the MetricsFilter is not a Tag.
Casts this MetricsFilter as a Tag and retrieves its aws.sdk.kotlin.services.s3.model.Tag value. Returns null if the MetricsFilter is not a Tag.