Class CfnRoutingRulePropsMixin.MatchHeaderValueProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnRoutingRulePropsMixin.MatchHeaderValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingRulePropsMixin.MatchHeaderValueProperty>
- Enclosing interface:
CfnRoutingRulePropsMixin.MatchHeaderValueProperty
@Stability(Stable)
public static final class CfnRoutingRulePropsMixin.MatchHeaderValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingRulePropsMixin.MatchHeaderValueProperty>
A builder for
CfnRoutingRulePropsMixin.MatchHeaderValueProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRoutingRulePropsMixin.MatchHeaderValueProperty.getHeader()Sets the value ofCfnRoutingRulePropsMixin.MatchHeaderValueProperty.getValueGlob()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
header
@Stability(Stable) public CfnRoutingRulePropsMixin.MatchHeaderValueProperty.Builder header(String header) Sets the value ofCfnRoutingRulePropsMixin.MatchHeaderValueProperty.getHeader()- Parameters:
header- The case insensitive header name to be matched. The header name must be less than 40 characters and the only allowed characters area-z,A-Z,0-9, and the following special characters:*?-!#$%&'.^_|~.` .- Returns:
this
-
valueGlob
@Stability(Stable) public CfnRoutingRulePropsMixin.MatchHeaderValueProperty.Builder valueGlob(String valueGlob) Sets the value ofCfnRoutingRulePropsMixin.MatchHeaderValueProperty.getValueGlob()- Parameters:
valueGlob- The case sensitive header glob value to be matched against entire header value. The header glob value must be less than 128 characters and the only allowed characters area-z,A-Z,0-9, and the following special characters:*?-!#$%&'.^_|~. Wildcard matching is supported for header glob values but must be forprefix-match,suffix-match, orinfix-match` .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutingRulePropsMixin.MatchHeaderValueProperty>- Returns:
- a new instance of
CfnRoutingRulePropsMixin.MatchHeaderValueProperty - Throws:
NullPointerException- if any required attribute was not provided
-