@Stability(value=Stable)
public static interface CfnRoute.GrpcRouteMetadataProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRoute.GrpcRouteMetadataProperty.Builder
A builder for
CfnRoute.GrpcRouteMetadataProperty |
static class |
CfnRoute.GrpcRouteMetadataProperty.Jsii$Proxy
An implementation for
CfnRoute.GrpcRouteMetadataProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRoute.GrpcRouteMetadataProperty.Builder |
builder() |
default Object |
getInvert()
Specify `True` to match anything except the match criteria.
|
default Object |
getMatch()
An object that represents the data to match from the request.
|
String |
getName()
The name of the route.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getInvert()
The default value is False .
@Stability(value=Stable) @Nullable default Object getMatch()
@Stability(value=Stable) static CfnRoute.GrpcRouteMetadataProperty.Builder builder()
Copyright © 2022. All rights reserved.