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