GrpcMetadataMatchMethod

An object representing the method header to be matched.

Inheritors

Types

Link copied to clipboard
data class Exact(val value: String) : GrpcMetadataMatchMethod

The exact method header to be matched on.

Link copied to clipboard
data class Prefix(val value: String) : GrpcMetadataMatchMethod

The specified beginning characters of the method header to be matched on.

Link copied to clipboard
data class Range(val value: MatchRange) : GrpcMetadataMatchMethod

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.

Link copied to clipboard
data class Regex(val value: String) : GrpcMetadataMatchMethod

The regex used to match the method header.

Link copied to clipboard
Link copied to clipboard
data class Suffix(val value: String) : GrpcMetadataMatchMethod

The specified ending characters of the method header to match on.

Functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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