@Stability(value=Stable)
public static interface CfnGatewayRoute.GrpcGatewayRouteMatchProperty
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.*;
GrpcGatewayRouteMatchProperty grpcGatewayRouteMatchProperty = GrpcGatewayRouteMatchProperty.builder()
.hostname(GatewayRouteHostnameMatchProperty.builder()
.exact("exact")
.suffix("suffix")
.build())
.metadata(List.of(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()))
.port(123)
.serviceName("serviceName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGatewayRoute.GrpcGatewayRouteMatchProperty.Builder
A builder for
CfnGatewayRoute.GrpcGatewayRouteMatchProperty |
static class |
CfnGatewayRoute.GrpcGatewayRouteMatchProperty.Jsii$Proxy
An implementation for
CfnGatewayRoute.GrpcGatewayRouteMatchProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGatewayRoute.GrpcGatewayRouteMatchProperty.Builder |
builder() |
default Object |
getHostname()
The gateway route host name to be matched on.
|
default Object |
getMetadata()
The gateway route metadata to be matched on.
|
default Number |
getPort()
`CfnGatewayRoute.GrpcGatewayRouteMatchProperty.Port`.
|
default String |
getServiceName()
The fully qualified domain name for the service to match from the request.
|
@Stability(value=Stable) @Nullable default Object getHostname()
@Stability(value=Stable) @Nullable default Object getMetadata()
@Stability(value=Stable) @Nullable default Number getPort()
@Stability(value=Stable) @Nullable default String getServiceName()
@Stability(value=Stable) static CfnGatewayRoute.GrpcGatewayRouteMatchProperty.Builder builder()
Copyright © 2022. All rights reserved.