Prefix

data class Prefix(val value: String) : MetricsFilter

The prefix used when evaluating a metrics filter.

Constructors

Link copied to clipboard
constructor(value: String)

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.