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