Arn

data class Arn(val value: String) : ItemValue

The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
fun asArn(): String

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
fun asUrl(): String

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

Link copied to clipboard

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