public static final class CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder
extends java.lang.Object
CfnGatewayRoute.GatewayRouteHostnameMatchProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnGatewayRoute.GatewayRouteHostnameMatchProperty |
build()
Builds the configured instance.
|
CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder |
exact(java.lang.String exact)
Sets the value of
CfnGatewayRoute.GatewayRouteHostnameMatchProperty.getExact() |
CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder |
suffix(java.lang.String suffix)
Sets the value of
CfnGatewayRoute.GatewayRouteHostnameMatchProperty.getSuffix() |
public CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder exact(java.lang.String exact)
CfnGatewayRoute.GatewayRouteHostnameMatchProperty.getExact()
exact
- The exact host name to match on.this
public CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder suffix(java.lang.String suffix)
CfnGatewayRoute.GatewayRouteHostnameMatchProperty.getSuffix()
suffix
- The specified ending characters of the host name to match on.this
public CfnGatewayRoute.GatewayRouteHostnameMatchProperty build()
CfnGatewayRoute.GatewayRouteHostnameMatchProperty
java.lang.NullPointerException
- if any required attribute was not provided