Class CfnRoutingRulePropsMixin.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.apigatewayv2.mixins.CfnRoutingRulePropsMixin.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingRulePropsMixin.ConditionProperty>
- Enclosing interface:
CfnRoutingRulePropsMixin.ConditionProperty
@Stability(Stable)
public static final class CfnRoutingRulePropsMixin.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingRulePropsMixin.ConditionProperty>
A builder for
CfnRoutingRulePropsMixin.ConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.matchBasePaths(IResolvable matchBasePaths) Sets the value ofCfnRoutingRulePropsMixin.ConditionProperty.getMatchBasePaths()matchBasePaths(CfnRoutingRulePropsMixin.MatchBasePathsProperty matchBasePaths) Sets the value ofCfnRoutingRulePropsMixin.ConditionProperty.getMatchBasePaths()matchHeaders(IResolvable matchHeaders) Sets the value ofCfnRoutingRulePropsMixin.ConditionProperty.getMatchHeaders()matchHeaders(CfnRoutingRulePropsMixin.MatchHeadersProperty matchHeaders) Sets the value ofCfnRoutingRulePropsMixin.ConditionProperty.getMatchHeaders()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchBasePaths
@Stability(Stable) public CfnRoutingRulePropsMixin.ConditionProperty.Builder matchBasePaths(IResolvable matchBasePaths) Sets the value ofCfnRoutingRulePropsMixin.ConditionProperty.getMatchBasePaths()- Parameters:
matchBasePaths- The base path to be matched.- Returns:
this
-
matchBasePaths
@Stability(Stable) public CfnRoutingRulePropsMixin.ConditionProperty.Builder matchBasePaths(CfnRoutingRulePropsMixin.MatchBasePathsProperty matchBasePaths) Sets the value ofCfnRoutingRulePropsMixin.ConditionProperty.getMatchBasePaths()- Parameters:
matchBasePaths- The base path to be matched.- Returns:
this
-
matchHeaders
@Stability(Stable) public CfnRoutingRulePropsMixin.ConditionProperty.Builder matchHeaders(IResolvable matchHeaders) Sets the value ofCfnRoutingRulePropsMixin.ConditionProperty.getMatchHeaders()- Parameters:
matchHeaders- The headers to be matched.- Returns:
this
-
matchHeaders
@Stability(Stable) public CfnRoutingRulePropsMixin.ConditionProperty.Builder matchHeaders(CfnRoutingRulePropsMixin.MatchHeadersProperty matchHeaders) Sets the value ofCfnRoutingRulePropsMixin.ConditionProperty.getMatchHeaders()- Parameters:
matchHeaders- The headers to be matched.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutingRulePropsMixin.ConditionProperty>- Returns:
- a new instance of
CfnRoutingRulePropsMixin.ConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-