Interface RoutingRuleParameters.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RoutingRuleParameters.Builder,,RoutingRuleParameters> SdkBuilder<RoutingRuleParameters.Builder,,RoutingRuleParameters> SdkPojo
- Enclosing class:
RoutingRuleParameters
@Mutable
@NotThreadSafe
public static interface RoutingRuleParameters.Builder
extends SdkPojo, CopyableBuilder<RoutingRuleParameters.Builder,RoutingRuleParameters>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RoutingRuleParameters.Builderconditions(Consumer<RuleCondition.Builder> conditions) Sets the value of the Conditions property for this object.conditions(RuleCondition conditions) Sets the value of the Conditions property for this object.Sets the value of the Priority property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
priority
Sets the value of the Priority property for this object.- Parameters:
priority- The new value for the Priority property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
Sets the value of the Conditions property for this object.- Parameters:
conditions- The new value for the Conditions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
Sets the value of the Conditions property for this object. This is a convenience method that creates an instance of theRuleCondition.Builderavoiding the need to create one manually viaRuleCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(RuleCondition).- Parameters:
conditions- a consumer that will call methods onRuleCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-