Regex

data class Regex(val value: String) : HeaderMatchMethod

The value sent by the client must include the specified characters.

Constructors

Link copied to clipboard
constructor(value: String)

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.