Class CfnLinkRoutingRuleProps.Builder
java.lang.Object
software.amazon.awscdk.services.rtbfabric.CfnLinkRoutingRuleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLinkRoutingRuleProps>
- Enclosing interface:
CfnLinkRoutingRuleProps
@Stability(Stable)
public static final class CfnLinkRoutingRuleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLinkRoutingRuleProps>
A builder for
CfnLinkRoutingRuleProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditions(IResolvable conditions) Sets the value ofCfnLinkRoutingRuleProps.getConditions()conditions(CfnLinkRoutingRule.RuleConditionProperty conditions) Sets the value ofCfnLinkRoutingRuleProps.getConditions()Sets the value ofCfnLinkRoutingRuleProps.getGatewayId()Sets the value ofCfnLinkRoutingRuleProps.getLinkId()Sets the value ofCfnLinkRoutingRuleProps.getPriority()Sets the value ofCfnLinkRoutingRuleProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditions
Sets the value ofCfnLinkRoutingRuleProps.getConditions()- Parameters:
conditions- Conditions for a routing rule. This parameter is required. All non-null fields must match (AND logic). At least one field must be set. HostHeader and HostHeaderWildcard are mutually exclusive. PathPrefix and PathExact are mutually exclusive.- Returns:
this
-
conditions
@Stability(Stable) public CfnLinkRoutingRuleProps.Builder conditions(CfnLinkRoutingRule.RuleConditionProperty conditions) Sets the value ofCfnLinkRoutingRuleProps.getConditions()- Parameters:
conditions- Conditions for a routing rule. This parameter is required. All non-null fields must match (AND logic). At least one field must be set. HostHeader and HostHeaderWildcard are mutually exclusive. PathPrefix and PathExact are mutually exclusive.- Returns:
this
-
gatewayId
Sets the value ofCfnLinkRoutingRuleProps.getGatewayId()- Parameters:
gatewayId- the value to be set. This parameter is required.- Returns:
this
-
linkId
Sets the value ofCfnLinkRoutingRuleProps.getLinkId()- Parameters:
linkId- the value to be set. This parameter is required.- Returns:
this
-
priority
Sets the value ofCfnLinkRoutingRuleProps.getPriority()- Parameters:
priority- the value to be set. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnLinkRoutingRuleProps.getTags()- Parameters:
tags- Tags to assign to the LinkRoutingRule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLinkRoutingRuleProps>- Returns:
- a new instance of
CfnLinkRoutingRuleProps - Throws:
NullPointerException- if any required attribute was not provided
-