public static final class CfnGatewayRoute.HttpGatewayRouteRewriteProperty.Builder
extends java.lang.Object
CfnGatewayRoute.HttpGatewayRouteRewriteProperty
Constructor and Description |
---|
Builder() |
public CfnGatewayRoute.HttpGatewayRouteRewriteProperty.Builder hostname(IResolvable hostname)
CfnGatewayRoute.HttpGatewayRouteRewriteProperty.getHostname()
hostname
- The host name to rewrite.this
public CfnGatewayRoute.HttpGatewayRouteRewriteProperty.Builder hostname(CfnGatewayRoute.GatewayRouteHostnameRewriteProperty hostname)
CfnGatewayRoute.HttpGatewayRouteRewriteProperty.getHostname()
hostname
- The host name to rewrite.this
public CfnGatewayRoute.HttpGatewayRouteRewriteProperty.Builder path(IResolvable path)
CfnGatewayRoute.HttpGatewayRouteRewriteProperty.getPath()
path
- The path to rewrite.this
public CfnGatewayRoute.HttpGatewayRouteRewriteProperty.Builder path(CfnGatewayRoute.HttpGatewayRoutePathRewriteProperty path)
CfnGatewayRoute.HttpGatewayRouteRewriteProperty.getPath()
path
- The path to rewrite.this
public CfnGatewayRoute.HttpGatewayRouteRewriteProperty.Builder prefix(IResolvable prefix)
CfnGatewayRoute.HttpGatewayRouteRewriteProperty.getPrefix()
prefix
- The specified beginning characters to rewrite.this
public CfnGatewayRoute.HttpGatewayRouteRewriteProperty.Builder prefix(CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty prefix)
CfnGatewayRoute.HttpGatewayRouteRewriteProperty.getPrefix()
prefix
- The specified beginning characters to rewrite.this
public CfnGatewayRoute.HttpGatewayRouteRewriteProperty build()
CfnGatewayRoute.HttpGatewayRouteRewriteProperty
java.lang.NullPointerException
- if any required attribute was not provided