@Stability(value=Stable) public static final class GrpcRouteMatch.Builder extends Object implements software.amazon.jsii.Builder<GrpcRouteMatch>
GrpcRouteMatch| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GrpcRouteMatch |
build()
Builds the configured instance.
|
GrpcRouteMatch.Builder |
metadata(List<? extends HeaderMatch> metadata)
Sets the value of
GrpcRouteMatch.getMetadata() |
GrpcRouteMatch.Builder |
methodName(String methodName)
Sets the value of
GrpcRouteMatch.getMethodName() |
GrpcRouteMatch.Builder |
serviceName(String serviceName)
Sets the value of
GrpcRouteMatch.getServiceName() |
@Stability(value=Stable) public GrpcRouteMatch.Builder metadata(List<? extends HeaderMatch> metadata)
GrpcRouteMatch.getMetadata()metadata - Create metadata based gRPC route match.
All specified metadata must match for the route to match.this@Stability(value=Stable) public GrpcRouteMatch.Builder methodName(String methodName)
GrpcRouteMatch.getMethodName()methodName - The method name to match from the request.
If the method name is specified, service name must be also provided.this@Stability(value=Stable) public GrpcRouteMatch.Builder serviceName(String serviceName)
GrpcRouteMatch.getServiceName()serviceName - Create service name based gRPC route match.this@Stability(value=Stable) public GrpcRouteMatch build()
build in interface software.amazon.jsii.Builder<GrpcRouteMatch>GrpcRouteMatchNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.