public class RuleUpdateParameters extends Object
| Constructor and Description |
|---|
RuleUpdateParameters() |
| Modifier and Type | Method and Description |
|---|---|
List<DeliveryRuleAction> |
actions()
Get the actions property: A list of actions that are executed when all the conditions of a rule are satisfied.
|
List<DeliveryRuleCondition> |
conditions()
Get the conditions property: A list of conditions that must be matched for the actions to be executed.
|
MatchProcessingBehavior |
matchProcessingBehavior()
Get the matchProcessingBehavior property: If this rule is a match should the rules engine continue running the
remaining rules or stop.
|
Integer |
order()
Get the order property: The order in which the rules are applied for the endpoint.
|
void |
validate()
Validates the instance.
|
RuleUpdateParameters |
withActions(List<DeliveryRuleAction> actions)
Set the actions property: A list of actions that are executed when all the conditions of a rule are satisfied.
|
RuleUpdateParameters |
withConditions(List<DeliveryRuleCondition> conditions)
Set the conditions property: A list of conditions that must be matched for the actions to be executed.
|
RuleUpdateParameters |
withMatchProcessingBehavior(MatchProcessingBehavior matchProcessingBehavior)
Set the matchProcessingBehavior property: If this rule is a match should the rules engine continue running the
remaining rules or stop.
|
RuleUpdateParameters |
withOrder(Integer order)
Set the order property: The order in which the rules are applied for the endpoint.
|
public Integer order()
public RuleUpdateParameters withOrder(Integer order)
order - the order value to set.public List<DeliveryRuleCondition> conditions()
public RuleUpdateParameters withConditions(List<DeliveryRuleCondition> conditions)
conditions - the conditions value to set.public List<DeliveryRuleAction> actions()
public RuleUpdateParameters withActions(List<DeliveryRuleAction> actions)
actions - the actions value to set.public MatchProcessingBehavior matchProcessingBehavior()
public RuleUpdateParameters withMatchProcessingBehavior(MatchProcessingBehavior matchProcessingBehavior)
matchProcessingBehavior - the matchProcessingBehavior value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.