Class GatewayRouteHostnameMatchConfig.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.GatewayRouteHostnameMatchConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayRouteHostnameMatchConfig>
- Enclosing interface:
GatewayRouteHostnameMatchConfig
@Stability(Stable)
public static final class GatewayRouteHostnameMatchConfig.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayRouteHostnameMatchConfig>
A builder for
GatewayRouteHostnameMatchConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.hostnameMatch
(CfnGatewayRoute.GatewayRouteHostnameMatchProperty hostnameMatch) Sets the value ofGatewayRouteHostnameMatchConfig.getHostnameMatch()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostnameMatch
@Stability(Stable) public GatewayRouteHostnameMatchConfig.Builder hostnameMatch(CfnGatewayRoute.GatewayRouteHostnameMatchProperty hostnameMatch) Sets the value ofGatewayRouteHostnameMatchConfig.getHostnameMatch()
- Parameters:
hostnameMatch
- GatewayRoute CFN configuration for host name match. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GatewayRouteHostnameMatchConfig>
- Returns:
- a new instance of
GatewayRouteHostnameMatchConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-