Class CfnRoutingRuleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnRoutingRuleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingRuleMixinProps>
- Enclosing interface:
CfnRoutingRuleMixinProps
@Stability(Stable)
public static final class CfnRoutingRuleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingRuleMixinProps>
A builder for
CfnRoutingRuleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnRoutingRuleMixinProps.getActions()actions(IResolvable actions) Sets the value ofCfnRoutingRuleMixinProps.getActions()build()Builds the configured instance.conditions(List<? extends Object> conditions) Sets the value ofCfnRoutingRuleMixinProps.getConditions()conditions(IResolvable conditions) Sets the value ofCfnRoutingRuleMixinProps.getConditions()domainNameArn(String domainNameArn) Sets the value ofCfnRoutingRuleMixinProps.getDomainNameArn()Sets the value ofCfnRoutingRuleMixinProps.getPriority()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnRoutingRuleMixinProps.getActions()- Parameters:
actions- The resulting action based on matching a routing rules condition. Only InvokeApi is supported.- Returns:
this
-
actions
Sets the value ofCfnRoutingRuleMixinProps.getActions()- Parameters:
actions- The resulting action based on matching a routing rules condition. Only InvokeApi is supported.- Returns:
this
-
conditions
Sets the value ofCfnRoutingRuleMixinProps.getConditions()- Parameters:
conditions- The conditions of the routing rule.- Returns:
this
-
conditions
@Stability(Stable) public CfnRoutingRuleMixinProps.Builder conditions(List<? extends Object> conditions) Sets the value ofCfnRoutingRuleMixinProps.getConditions()- Parameters:
conditions- The conditions of the routing rule.- Returns:
this
-
domainNameArn
Sets the value ofCfnRoutingRuleMixinProps.getDomainNameArn()- Parameters:
domainNameArn- The ARN of the domain name.- Returns:
this
-
priority
Sets the value ofCfnRoutingRuleMixinProps.getPriority()- Parameters:
priority- The order in which API Gateway evaluates a rule. Priority is evaluated from the lowest value to the highest value. Rules can't have the same priority. Priority values 1-1,000,000 are supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutingRuleMixinProps>- Returns:
- a new instance of
CfnRoutingRuleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-