Interface CfnRoute.GrpcRouteMetadataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoute.GrpcRouteMetadataProperty.Jsii$Proxy
- Enclosing class:
- CfnRoute
@Stability(Stable)
public static interface CfnRoute.GrpcRouteMetadataProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the match metadata for the route.
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.*;
GrpcRouteMetadataProperty grpcRouteMetadataProperty = GrpcRouteMetadataProperty.builder()
.name("name")
// the properties below are optional
.invert(false)
.match(GrpcRouteMetadataMatchMethodProperty.builder()
.exact("exact")
.prefix("prefix")
.range(MatchRangeProperty.builder()
.end(123)
.start(123)
.build())
.regex("regex")
.suffix("suffix")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoute.GrpcRouteMetadataPropertystatic final classAn implementation forCfnRoute.GrpcRouteMetadataProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the route. -
getInvert
SpecifyTrueto match anything except the match criteria.The default value is
False. -
getMatch
An object that represents the data to match from the request. -
builder
-