Interface CfnRoute.GrpcRouteMetadataMatchMethodProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoute.GrpcRouteMetadataMatchMethodProperty.Jsii$Proxy
- Enclosing class:
CfnRoute
@Stability(Stable)
public static interface CfnRoute.GrpcRouteMetadataMatchMethodProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the match method.
Specify one of the match values.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
GrpcRouteMetadataMatchMethodProperty grpcRouteMetadataMatchMethodProperty = GrpcRouteMetadataMatchMethodProperty.builder()
.exact("exact")
.prefix("prefix")
.range(MatchRangeProperty.builder()
.end(123)
.start(123)
.build())
.regex("regex")
.suffix("suffix")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoute.GrpcRouteMetadataMatchMethodPropertystatic final classAn implementation forCfnRoute.GrpcRouteMetadataMatchMethodProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetExact()The value sent by the client must match the specified value exactly.default StringThe value sent by the client must begin with the specified characters.default ObjectgetRange()An object that represents the range of values to match on.default StringgetRegex()The value sent by the client must include the specified characters.default StringThe value sent by the client must end with the specified characters.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExact
The value sent by the client must match the specified value exactly.- See Also:
-
getPrefix
The value sent by the client must begin with the specified characters.- See Also:
-
getRange
An object that represents the range of values to match on.Returns union: either
IResolvableorCfnRoute.MatchRangeProperty- See Also:
-
getRegex
The value sent by the client must include the specified characters.- See Also:
-
getSuffix
The value sent by the client must end with the specified characters.- See Also:
-
builder
-