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