And

data class And(val value: MetricsAndOperator) : MetricsFilter

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.

Constructors

Link copied to clipboard
constructor(value: MetricsAndOperator)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this MetricsFilter as a AccessPointArn and retrieves its kotlin.String value. Throws an exception if the MetricsFilter is not a AccessPointArn.

Link copied to clipboard

Casts this MetricsFilter as a AccessPointArn and retrieves its kotlin.String value. Returns null if the MetricsFilter is not a AccessPointArn.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Casts this MetricsFilter as a Prefix and retrieves its kotlin.String value. Throws an exception if the MetricsFilter is not a Prefix.

Link copied to clipboard

Casts this MetricsFilter as a Prefix and retrieves its kotlin.String value. Returns null if the MetricsFilter is not a Prefix.

Link copied to clipboard
fun asTag(): Tag

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.

Link copied to clipboard

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.