Class CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty>
- Enclosing interface:
CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty
@Stability(Stable)
public static final class CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.getExact()range(IResolvable range) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.getRange()Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.getRange()Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.getRegex()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exact
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.Builder exact(String exact) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.getExact()- Parameters:
exact- The value sent by the client must match the specified value exactly.- Returns:
this
-
prefix
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.Builder prefix(String prefix) - Parameters:
prefix- The value sent by the client must begin with the specified characters.- Returns:
this
-
range
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.Builder range(IResolvable range) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.getRange()- Parameters:
range- An object that represents the range of values to match on.- Returns:
this
-
range
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.Builder range(CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty range) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.getRange()- Parameters:
range- An object that represents the range of values to match on.- Returns:
this
-
regex
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.Builder regex(String regex) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.getRegex()- Parameters:
regex- The value sent by the client must include the specified characters.- Returns:
this
-
suffix
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty.Builder suffix(String suffix) - Parameters:
suffix- The value sent by the client must end with the specified characters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty>- Returns:
- a new instance of
CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty - Throws:
NullPointerException- if any required attribute was not provided
-