Class CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty>
- Enclosing interface:
CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty
@Stability(Stable)
public static final class CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getHostname()hostname(IResolvable hostname) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getHostname()Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getPath()path(IResolvable path) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getPath()Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getPrefix()prefix(IResolvable prefix) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostname
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.Builder hostname(IResolvable hostname) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getHostname()- Parameters:
hostname- The host name to rewrite.- Returns:
this
-
hostname
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.Builder hostname(CfnGatewayRoutePropsMixin.GatewayRouteHostnameRewriteProperty hostname) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getHostname()- Parameters:
hostname- The host name to rewrite.- Returns:
this
-
path
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.Builder path(IResolvable path) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getPath()- Parameters:
path- The path to rewrite.- Returns:
this
-
path
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.Builder path(CfnGatewayRoutePropsMixin.HttpGatewayRoutePathRewriteProperty path) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getPath()- Parameters:
path- The path to rewrite.- Returns:
this
-
prefix
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.Builder prefix(IResolvable prefix) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getPrefix()- Parameters:
prefix- The specified beginning characters to rewrite.- Returns:
this
-
prefix
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.Builder prefix(CfnGatewayRoutePropsMixin.HttpGatewayRoutePrefixRewriteProperty prefix) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty.getPrefix()- Parameters:
prefix- The specified beginning characters to rewrite.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty>- Returns:
- a new instance of
CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty - Throws:
NullPointerException- if any required attribute was not provided
-