@Stability(value=Stable)
public static interface CfnRoute.GrpcRouteMatchProperty
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.*;
GrpcRouteMatchProperty grpcRouteMatchProperty = GrpcRouteMatchProperty.builder()
.metadata(List.of(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()))
.methodName("methodName")
.port(123)
.serviceName("serviceName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRoute.GrpcRouteMatchProperty.Builder
A builder for
CfnRoute.GrpcRouteMatchProperty |
static class |
CfnRoute.GrpcRouteMatchProperty.Jsii$Proxy
An implementation for
CfnRoute.GrpcRouteMatchProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRoute.GrpcRouteMatchProperty.Builder |
builder() |
default Object |
getMetadata()
An object that represents the data to match from the request.
|
default String |
getMethodName()
The method name to match from the request.
|
default Number |
getPort()
`CfnRoute.GrpcRouteMatchProperty.Port`.
|
default String |
getServiceName()
The fully qualified domain name for the service to match from the request.
|
@Stability(value=Stable) @Nullable default Object getMetadata()
@Stability(value=Stable) @Nullable default String getMethodName()
If you specify a name, you must also specify a serviceName .
@Stability(value=Stable) @Nullable default Number getPort()
@Stability(value=Stable) @Nullable default String getServiceName()
@Stability(value=Stable) static CfnRoute.GrpcRouteMatchProperty.Builder builder()
Copyright © 2022. All rights reserved.