@Stability(value=Stable) public static final class GrpcGatewayRouteMatch.Builder extends Object implements software.amazon.jsii.Builder<GrpcGatewayRouteMatch>
GrpcGatewayRouteMatch| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GrpcGatewayRouteMatch |
build()
Builds the configured instance.
|
GrpcGatewayRouteMatch.Builder |
hostname(GatewayRouteHostnameMatch hostname)
Sets the value of
GrpcGatewayRouteMatch.getHostname() |
GrpcGatewayRouteMatch.Builder |
metadata(List<? extends HeaderMatch> metadata)
Sets the value of
GrpcGatewayRouteMatch.getMetadata() |
GrpcGatewayRouteMatch.Builder |
rewriteRequestHostname(Boolean rewriteRequestHostname)
Sets the value of
GrpcGatewayRouteMatch.getRewriteRequestHostname() |
GrpcGatewayRouteMatch.Builder |
serviceName(String serviceName)
Sets the value of
GrpcGatewayRouteMatch.getServiceName() |
@Stability(value=Stable) public GrpcGatewayRouteMatch.Builder hostname(GatewayRouteHostnameMatch hostname)
GrpcGatewayRouteMatch.getHostname()hostname - Create host name based gRPC gateway route match.this@Stability(value=Stable) public GrpcGatewayRouteMatch.Builder metadata(List<? extends HeaderMatch> metadata)
GrpcGatewayRouteMatch.getMetadata()metadata - Create metadata based gRPC gateway route match.
All specified metadata must match for the route to match.this@Stability(value=Stable) public GrpcGatewayRouteMatch.Builder rewriteRequestHostname(Boolean rewriteRequestHostname)
GrpcGatewayRouteMatch.getRewriteRequestHostname()rewriteRequestHostname - When `true`, rewrites the original request received at the Virtual Gateway to the destination Virtual Service name.
When false, retains the original hostname from the request.this@Stability(value=Stable) public GrpcGatewayRouteMatch.Builder serviceName(String serviceName)
GrpcGatewayRouteMatch.getServiceName()serviceName - Create service name based gRPC gateway route match.this@Stability(value=Stable) public GrpcGatewayRouteMatch build()
build in interface software.amazon.jsii.Builder<GrpcGatewayRouteMatch>GrpcGatewayRouteMatchNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.