GrpcMetadataMatchMethod
An object representing the method header to be matched.
Inheritors
Types
The exact method header to be matched on.
The specified beginning characters of the method header to be matched on.
An object that represents the range of values to match on. The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.
The regex used to match the method header.
The specified ending characters of the method header to match on.
Functions
Casts this GrpcMetadataMatchMethod as a Exact and retrieves its kotlin.String value. Throws an exception if the GrpcMetadataMatchMethod is not a Exact.
Casts this GrpcMetadataMatchMethod as a Exact and retrieves its kotlin.String value. Returns null if the GrpcMetadataMatchMethod is not a Exact.
Casts this GrpcMetadataMatchMethod as a Prefix and retrieves its kotlin.String value. Throws an exception if the GrpcMetadataMatchMethod is not a Prefix.
Casts this GrpcMetadataMatchMethod as a Prefix and retrieves its kotlin.String value. Returns null if the GrpcMetadataMatchMethod is not a Prefix.
Casts this GrpcMetadataMatchMethod as a Range and retrieves its aws.sdk.kotlin.services.appmesh.model.MatchRange value. Throws an exception if the GrpcMetadataMatchMethod is not a Range.
Casts this GrpcMetadataMatchMethod as a Range and retrieves its aws.sdk.kotlin.services.appmesh.model.MatchRange value. Returns null if the GrpcMetadataMatchMethod is not a Range.
Casts this GrpcMetadataMatchMethod as a Regex and retrieves its kotlin.String value. Throws an exception if the GrpcMetadataMatchMethod is not a Regex.
Casts this GrpcMetadataMatchMethod as a Regex and retrieves its kotlin.String value. Returns null if the GrpcMetadataMatchMethod is not a Regex.
Casts this GrpcMetadataMatchMethod as a Suffix and retrieves its kotlin.String value. Throws an exception if the GrpcMetadataMatchMethod is not a Suffix.
Casts this GrpcMetadataMatchMethod as a Suffix and retrieves its kotlin.String value. Returns null if the GrpcMetadataMatchMethod is not a Suffix.