HeaderMatchMethod
An object that represents the method and value to match with the header value sent in a request. Specify one match method.
Inheritors
Types
The value sent by the client must match the specified value exactly.
The value sent by the client must begin with the specified characters.
An object that represents the range of values to match on.
The value sent by the client must include the specified characters.
The value sent by the client must end with the specified characters.
Functions
Casts this HeaderMatchMethod as a Exact and retrieves its kotlin.String value. Throws an exception if the HeaderMatchMethod is not a Exact.
Casts this HeaderMatchMethod as a Exact and retrieves its kotlin.String value. Returns null if the HeaderMatchMethod is not a Exact.
Casts this HeaderMatchMethod as a Prefix and retrieves its kotlin.String value. Throws an exception if the HeaderMatchMethod is not a Prefix.
Casts this HeaderMatchMethod as a Prefix and retrieves its kotlin.String value. Returns null if the HeaderMatchMethod is not a Prefix.
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.
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.
Casts this HeaderMatchMethod as a Regex and retrieves its kotlin.String value. Throws an exception if the HeaderMatchMethod is not a Regex.
Casts this HeaderMatchMethod as a Regex and retrieves its kotlin.String value. Returns null if the HeaderMatchMethod is not a Regex.
Casts this HeaderMatchMethod as a Suffix and retrieves its kotlin.String value. Throws an exception if the HeaderMatchMethod is not a Suffix.
Casts this HeaderMatchMethod as a Suffix and retrieves its kotlin.String value. Returns null if the HeaderMatchMethod is not a Suffix.