Interface RoutingRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutingRule.Builder,
,RoutingRule> SdkBuilder<RoutingRule.Builder,
,RoutingRule> SdkPojo
- Enclosing class:
RoutingRule
@Mutable
@NotThreadSafe
public static interface RoutingRule.Builder
extends SdkPojo, CopyableBuilder<RoutingRule.Builder,RoutingRule>
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<RoutingRuleAction> actions) The routing rule action.actions
(Consumer<RoutingRuleAction.Builder>... actions) The routing rule action.actions
(RoutingRuleAction... actions) The routing rule action.conditions
(Collection<RoutingRuleCondition> conditions) The routing rule condition.conditions
(Consumer<RoutingRuleCondition.Builder>... conditions) The routing rule condition.conditions
(RoutingRuleCondition... conditions) The routing rule condition.The routing rule priority.routingRuleArn
(String routingRuleArn) The routing rule ARN.routingRuleId
(String routingRuleId) The routing rule ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
actions
The routing rule action.
- Parameters:
actions
- The routing rule action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The routing rule action.
- Parameters:
actions
- The routing rule action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The routing rule action.
This is a convenience method that creates an instance of theRoutingRuleAction.Builder
avoiding the need to create one manually viaRoutingRuleAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<RoutingRuleAction>)
.- Parameters:
actions
- a consumer that will call methods onRoutingRuleAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditions
The routing rule condition.
- Parameters:
conditions
- The routing rule condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The routing rule condition.
- Parameters:
conditions
- The routing rule condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The routing rule condition.
This is a convenience method that creates an instance of theRoutingRuleCondition.Builder
avoiding the need to create one manually viaRoutingRuleCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconditions(List<RoutingRuleCondition>)
.- Parameters:
conditions
- a consumer that will call methods onRoutingRuleCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The routing rule priority.
- Parameters:
priority
- The routing rule priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingRuleArn
The routing rule ARN.
- Parameters:
routingRuleArn
- The routing rule ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingRuleId
The routing rule ID.
- Parameters:
routingRuleId
- The routing rule ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-