Class CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty>
- Enclosing interface:
CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty
@Stability(Stable)
public static final class CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty>
A builder for
CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getInvert()invert(IResolvable invert) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getInvert()Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getMatch()match(IResolvable match) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getMatch()Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
invert
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.Builder invert(Boolean invert) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getInvert()- Parameters:
invert- SpecifyTrueto match anything except the match criteria. The default value isFalse.- Returns:
this
-
invert
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.Builder invert(IResolvable invert) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getInvert()- Parameters:
invert- SpecifyTrueto match anything except the match criteria. The default value isFalse.- Returns:
this
-
match
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.Builder match(IResolvable match) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getMatch()- Parameters:
match- An object that represents the method and value to match with the header value sent in a request. Specify one match method.- Returns:
this
-
match
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.Builder match(CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderMatchProperty match) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getMatch()- Parameters:
match- An object that represents the method and value to match with the header value sent in a request. Specify one match method.- Returns:
this
-
name
@Stability(Stable) public CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.Builder name(String name) Sets the value ofCfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty.getName()- Parameters:
name- A name for the HTTP header in the gateway route that will be matched on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty>- Returns:
- a new instance of
CfnGatewayRoutePropsMixin.HttpGatewayRouteHeaderProperty - Throws:
NullPointerException- if any required attribute was not provided
-