Range

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.

Constructors

Link copied to clipboard
constructor(value: MatchRange)

Properties

Link copied to clipboard

Inherited 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.