public static final class CfnGatewayRoute.GrpcGatewayRouteProperty.Builder
extends java.lang.Object
CfnGatewayRoute.GrpcGatewayRouteProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnGatewayRoute.GrpcGatewayRouteProperty.Builder |
action(CfnGatewayRoute.GrpcGatewayRouteActionProperty action)
Sets the value of
CfnGatewayRoute.GrpcGatewayRouteProperty.getAction() |
CfnGatewayRoute.GrpcGatewayRouteProperty.Builder |
action(IResolvable action)
Sets the value of
CfnGatewayRoute.GrpcGatewayRouteProperty.getAction() |
CfnGatewayRoute.GrpcGatewayRouteProperty |
build()
Builds the configured instance.
|
CfnGatewayRoute.GrpcGatewayRouteProperty.Builder |
match(CfnGatewayRoute.GrpcGatewayRouteMatchProperty match)
Sets the value of
CfnGatewayRoute.GrpcGatewayRouteProperty.getMatch() |
CfnGatewayRoute.GrpcGatewayRouteProperty.Builder |
match(IResolvable match)
Sets the value of
CfnGatewayRoute.GrpcGatewayRouteProperty.getMatch() |
public CfnGatewayRoute.GrpcGatewayRouteProperty.Builder action(IResolvable action)
CfnGatewayRoute.GrpcGatewayRouteProperty.getAction()
action
- An object that represents the action to take if a match is determined. This parameter is required.this
public CfnGatewayRoute.GrpcGatewayRouteProperty.Builder action(CfnGatewayRoute.GrpcGatewayRouteActionProperty action)
CfnGatewayRoute.GrpcGatewayRouteProperty.getAction()
action
- An object that represents the action to take if a match is determined. This parameter is required.this
public CfnGatewayRoute.GrpcGatewayRouteProperty.Builder match(IResolvable match)
CfnGatewayRoute.GrpcGatewayRouteProperty.getMatch()
match
- An object that represents the criteria for determining a request match. This parameter is required.this
public CfnGatewayRoute.GrpcGatewayRouteProperty.Builder match(CfnGatewayRoute.GrpcGatewayRouteMatchProperty match)
CfnGatewayRoute.GrpcGatewayRouteProperty.getMatch()
match
- An object that represents the criteria for determining a request match. This parameter is required.this
public CfnGatewayRoute.GrpcGatewayRouteProperty build()
CfnGatewayRoute.GrpcGatewayRouteProperty
java.lang.NullPointerException
- if any required attribute was not provided