Interface LinkRoutingRuleSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LinkRoutingRuleSummary.Builder,,LinkRoutingRuleSummary> SdkBuilder<LinkRoutingRuleSummary.Builder,,LinkRoutingRuleSummary> SdkPojo
- Enclosing class:
LinkRoutingRuleSummary
@Mutable
@NotThreadSafe
public static interface LinkRoutingRuleSummary.Builder
extends SdkPojo, CopyableBuilder<LinkRoutingRuleSummary.Builder,LinkRoutingRuleSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LinkRoutingRuleSummary.Builderconditions(Consumer<RuleCondition.Builder> conditions) The conditions for the routing rule.conditions(RuleCondition conditions) The conditions for the routing rule.The timestamp of when the routing rule was created.The priority of the routing rule.The unique identifier of the routing rule.The status of the routing rule.status(RuleStatus status) The status of the routing rule.The timestamp of when the routing rule was last updated.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
-
ruleId
The unique identifier of the routing rule.
- Parameters:
ruleId- The unique identifier of the routing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The priority of the routing rule.
- Parameters:
priority- The priority of the routing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions for the routing rule.
- Parameters:
conditions- The conditions for the routing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions for the routing rule.
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:
-
status
The status of the routing rule.
- Parameters:
status- The status of the routing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the routing rule.
- Parameters:
status- The status of the routing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp of when the routing rule was created.
- Parameters:
createdAt- The timestamp of when the routing rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp of when the routing rule was last updated.
- Parameters:
updatedAt- The timestamp of when the routing rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-