Class CfnLinkRoutingRuleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rtbfabric.CfnLinkRoutingRuleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLinkRoutingRuleMixinProps>
- Enclosing interface:
CfnLinkRoutingRuleMixinProps
@Stability(Stable)
public static final class CfnLinkRoutingRuleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLinkRoutingRuleMixinProps>
A builder for
CfnLinkRoutingRuleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLinkRoutingRuleMixinProps.getConditions()conditions(IResolvable conditions) Sets the value ofCfnLinkRoutingRuleMixinProps.getConditions()Sets the value ofCfnLinkRoutingRuleMixinProps.getGatewayId()Sets the value ofCfnLinkRoutingRuleMixinProps.getLinkId()Sets the value ofCfnLinkRoutingRuleMixinProps.getPriority()Sets the value ofCfnLinkRoutingRuleMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditions
Sets the value ofCfnLinkRoutingRuleMixinProps.getConditions()- Parameters:
conditions- Conditions for a routing rule. 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 CfnLinkRoutingRuleMixinProps.Builder conditions(CfnLinkRoutingRulePropsMixin.RuleConditionProperty conditions) Sets the value ofCfnLinkRoutingRuleMixinProps.getConditions()- Parameters:
conditions- Conditions for a routing rule. 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 ofCfnLinkRoutingRuleMixinProps.getGatewayId()- Parameters:
gatewayId- the value to be set.- Returns:
this
-
linkId
Sets the value ofCfnLinkRoutingRuleMixinProps.getLinkId()- Parameters:
linkId- the value to be set.- Returns:
this
-
priority
Sets the value ofCfnLinkRoutingRuleMixinProps.getPriority()- Parameters:
priority- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnLinkRoutingRuleMixinProps.getTags()- Parameters:
tags- Tags to assign to the LinkRoutingRule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLinkRoutingRuleMixinProps>- Returns:
- a new instance of
CfnLinkRoutingRuleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-