@Stability(value=Stable) public static final class CfnRoute.GrpcRouteMatchProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRoute.GrpcRouteMatchProperty>
CfnRoute.GrpcRouteMatchProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRoute.GrpcRouteMatchProperty |
build()
Builds the configured instance.
|
CfnRoute.GrpcRouteMatchProperty.Builder |
metadata(IResolvable metadata)
Sets the value of
CfnRoute.GrpcRouteMatchProperty.getMetadata() |
CfnRoute.GrpcRouteMatchProperty.Builder |
metadata(List<? extends Object> metadata)
Sets the value of
CfnRoute.GrpcRouteMatchProperty.getMetadata() |
CfnRoute.GrpcRouteMatchProperty.Builder |
methodName(String methodName)
Sets the value of
CfnRoute.GrpcRouteMatchProperty.getMethodName() |
CfnRoute.GrpcRouteMatchProperty.Builder |
port(Number port)
Sets the value of
CfnRoute.GrpcRouteMatchProperty.getPort() |
CfnRoute.GrpcRouteMatchProperty.Builder |
serviceName(String serviceName)
Sets the value of
CfnRoute.GrpcRouteMatchProperty.getServiceName() |
@Stability(value=Stable) public CfnRoute.GrpcRouteMatchProperty.Builder metadata(IResolvable metadata)
CfnRoute.GrpcRouteMatchProperty.getMetadata()metadata - An object that represents the data to match from the request.this@Stability(value=Stable) public CfnRoute.GrpcRouteMatchProperty.Builder metadata(List<? extends Object> metadata)
CfnRoute.GrpcRouteMatchProperty.getMetadata()metadata - An object that represents the data to match from the request.this@Stability(value=Stable) public CfnRoute.GrpcRouteMatchProperty.Builder methodName(String methodName)
CfnRoute.GrpcRouteMatchProperty.getMethodName()methodName - The method name to match from the request.
If you specify a name, you must also specify a serviceName .this@Stability(value=Stable) public CfnRoute.GrpcRouteMatchProperty.Builder port(Number port)
CfnRoute.GrpcRouteMatchProperty.getPort()port - `CfnRoute.GrpcRouteMatchProperty.Port`.this@Stability(value=Stable) public CfnRoute.GrpcRouteMatchProperty.Builder serviceName(String serviceName)
CfnRoute.GrpcRouteMatchProperty.getServiceName()serviceName - The fully qualified domain name for the service to match from the request.this@Stability(value=Stable) public CfnRoute.GrpcRouteMatchProperty build()
build in interface software.amazon.jsii.Builder<CfnRoute.GrpcRouteMatchProperty>CfnRoute.GrpcRouteMatchPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.