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