@Stability(value=Stable)
public static interface CfnGatewayRoute.GrpcGatewayRouteMetadataProperty
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.*;
GrpcGatewayRouteMetadataProperty grpcGatewayRouteMetadataProperty = GrpcGatewayRouteMetadataProperty.builder()
.name("name")
// the properties below are optional
.invert(false)
.match(GatewayRouteMetadataMatchProperty.builder()
.exact("exact")
.prefix("prefix")
.range(GatewayRouteRangeMatchProperty.builder()
.end(123)
.start(123)
.build())
.regex("regex")
.suffix("suffix")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder
A builder for
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty |
static class |
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Jsii$Proxy
An implementation for
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder |
builder() |
default Object |
getInvert()
Specify `True` to match anything except the match criteria.
|
default Object |
getMatch()
The criteria for determining a metadata match.
|
String |
getName()
A name for the gateway route metadata.
|
@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 CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder builder()
Copyright © 2022. All rights reserved.