Interface CfnRoute.GrpcRouteMatchProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoute.GrpcRouteMatchProperty.Jsii$Proxy
- Enclosing class:
- CfnRoute
@Stability(Stable)
public static interface CfnRoute.GrpcRouteMatchProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the criteria for determining a request match.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoute.GrpcRouteMatchPropertystatic final classAn implementation forCfnRoute.GrpcRouteMatchProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn object that represents the data to match from the request.default StringThe method name to match from the request.default NumbergetPort()The port number to match on.default StringThe fully qualified domain name for the service to match from the request.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetadata
An object that represents the data to match from the request. -
getMethodName
The method name to match from the request.If you specify a name, you must also specify a
serviceName. -
getPort
The port number to match on. -
getServiceName
The fully qualified domain name for the service to match from the request. -
builder
-