Class CfnRoutingRulePropsMixin.MatchHeadersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnRoutingRulePropsMixin.MatchHeadersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingRulePropsMixin.MatchHeadersProperty>
- Enclosing interface:
CfnRoutingRulePropsMixin.MatchHeadersProperty
@Stability(Stable)
public static final class CfnRoutingRulePropsMixin.MatchHeadersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingRulePropsMixin.MatchHeadersProperty>
A builder for
CfnRoutingRulePropsMixin.MatchHeadersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnRoutingRulePropsMixin.MatchHeadersProperty.getAnyOf()anyOf(IResolvable anyOf) Sets the value ofCfnRoutingRulePropsMixin.MatchHeadersProperty.getAnyOf()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anyOf
@Stability(Stable) public CfnRoutingRulePropsMixin.MatchHeadersProperty.Builder anyOf(IResolvable anyOf) Sets the value ofCfnRoutingRulePropsMixin.MatchHeadersProperty.getAnyOf()- Parameters:
anyOf- The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched.- Returns:
this
-
anyOf
@Stability(Stable) public CfnRoutingRulePropsMixin.MatchHeadersProperty.Builder anyOf(List<? extends Object> anyOf) Sets the value ofCfnRoutingRulePropsMixin.MatchHeadersProperty.getAnyOf()- Parameters:
anyOf- The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutingRulePropsMixin.MatchHeadersProperty>- Returns:
- a new instance of
CfnRoutingRulePropsMixin.MatchHeadersProperty - Throws:
NullPointerException- if any required attribute was not provided
-