Range

data class Range(val value: MatchRange) : HeaderMatchMethod

An object that represents the range of values to match on.

Constructors

Link copied to clipboard
constructor(value: MatchRange)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Casts this HeaderMatchMethod as a Range and retrieves its aws.sdk.kotlin.services.appmesh.model.MatchRange value. Throws an exception if the HeaderMatchMethod is not a Range.

Link copied to clipboard

Casts this HeaderMatchMethod as a Range and retrieves its aws.sdk.kotlin.services.appmesh.model.MatchRange value. Returns null if the HeaderMatchMethod is not a Range.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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