Class CfnGatewayRoute.GatewayRouteHostnameRewriteProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GatewayRouteHostnameRewriteProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoute.GatewayRouteHostnameRewriteProperty>
- Enclosing interface:
CfnGatewayRoute.GatewayRouteHostnameRewriteProperty
@Stability(Stable)
public static final class CfnGatewayRoute.GatewayRouteHostnameRewriteProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoute.GatewayRouteHostnameRewriteProperty>
A builder for
CfnGatewayRoute.GatewayRouteHostnameRewriteProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultTargetHostname
(String defaultTargetHostname)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultTargetHostname
@Stability(Stable) public CfnGatewayRoute.GatewayRouteHostnameRewriteProperty.Builder defaultTargetHostname(String defaultTargetHostname) - Parameters:
defaultTargetHostname
- The default target host name to write to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGatewayRoute.GatewayRouteHostnameRewriteProperty>
- Returns:
- a new instance of
CfnGatewayRoute.GatewayRouteHostnameRewriteProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-