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