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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
actionsThe routing rule action. - Parameters:
- actions- The routing rule action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
actionsThe routing rule action. - Parameters:
- actions- The routing rule action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
actionsThe routing rule action. This is a convenience method that creates an instance of theRoutingRuleAction.Builderavoiding the need to create one manually viaRoutingRuleAction.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<RoutingRuleAction>).- Parameters:
- actions- a consumer that will call methods on- RoutingRuleAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
conditionsThe routing rule condition. - Parameters:
- conditions- The routing rule condition.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
conditionsThe routing rule condition. - Parameters:
- conditions- The routing rule condition.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
conditionsThe routing rule condition. This is a convenience method that creates an instance of theRoutingRuleCondition.Builderavoiding the need to create one manually viaRoutingRuleCondition.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(List<RoutingRuleCondition>).- Parameters:
- conditions- a consumer that will call methods on- RoutingRuleCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
priorityThe routing rule priority. - Parameters:
- priority- The routing rule priority.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
routingRuleArnThe routing rule ARN. - Parameters:
- routingRuleArn- The routing rule ARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
routingRuleIdThe routing rule ID. - Parameters:
- routingRuleId- The routing rule ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-