Class CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoute.GatewayRouteHostnameMatchProperty>
- Enclosing interface:
CfnGatewayRoute.GatewayRouteHostnameMatchProperty
@Stability(Stable)
public static final class CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoute.GatewayRouteHostnameMatchProperty>
A builder for
CfnGatewayRoute.GatewayRouteHostnameMatchProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGatewayRoute.GatewayRouteHostnameMatchProperty.getExact()Sets the value ofCfnGatewayRoute.GatewayRouteHostnameMatchProperty.getSuffix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exact
@Stability(Stable) public CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder exact(String exact) Sets the value ofCfnGatewayRoute.GatewayRouteHostnameMatchProperty.getExact()- Parameters:
exact- The exact host name to match on.- Returns:
this
-
suffix
@Stability(Stable) public CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder suffix(String suffix) Sets the value ofCfnGatewayRoute.GatewayRouteHostnameMatchProperty.getSuffix()- Parameters:
suffix- The specified ending characters of the host name to match on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRoute.GatewayRouteHostnameMatchProperty>- Returns:
- a new instance of
CfnGatewayRoute.GatewayRouteHostnameMatchProperty - Throws:
NullPointerException- if any required attribute was not provided
-