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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRoute.GrpcRouteMatchProperty
static final class
An implementation forCfnRoute.GrpcRouteMatchProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
An object that represents the data to match from the request.default String
The method name to match from the request.default Number
getPort()
The port number to match on.default String
The 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.- See Also:
-
getMethodName
The method name to match from the request.If you specify a name, you must also specify a
serviceName
.- See Also:
-
getPort
The port number to match on.- See Also:
-
getServiceName
The fully qualified domain name for the service to match from the request.- See Also:
-
builder
-