RuleUpdateParameters Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. RuleUpdateParameters
- com.
public class RuleUpdateParameters
The domain JSON object required for domain creation or update.
Constructor Summary
Constructor | Description | |
---|---|---|
RuleUpdateParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Delivery |
actions()
Get a list of actions that are executed when all the conditions of a rule are satisfied. |
java.util.List<Delivery |
conditions()
Get a list of conditions that must be matched for the actions to be executed. |
Match |
matchProcessingBehavior()
Get if this rule is a match should the rules engine continue running the remaining rules or stop. |
java.lang.Integer |
order()
Get the order in which the rules are applied for the endpoint. |
Rule |
withActions(List<DeliveryRuleAction> actions)
Set a list of actions that are executed when all the conditions of a rule are satisfied. |
Rule |
withConditions(List<DeliveryRuleCondition> conditions)
Set a list of conditions that must be matched for the actions to be executed. |
Rule |
withMatchProcessingBehavior(MatchProcessingBehavior matchProcessingBehavior)
Set if this rule is a match should the rules engine continue running the remaining rules or stop. |
Rule |
withOrder(Integer order)
Set the order in which the rules are applied for the endpoint. |
Methods inherited from java.lang.Object
Constructor Details
RuleUpdateParameters
public RuleUpdateParameters()
Method Details
actions
public List
Get a list of actions that are executed when all the conditions of a rule are satisfied.
Returns:
conditions
public List
Get a list of conditions that must be matched for the actions to be executed.
Returns:
matchProcessingBehavior
public MatchProcessingBehavior matchProcessingBehavior()
Get if this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Possible values include: 'Continue', 'Stop'.
Returns:
order
public Integer order()
Get the order in which the rules are applied for the endpoint. Possible values {0,1,2,3,\u2026\u2026\u2026}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.
Returns:
withActions
public RuleUpdateParameters withActions(List
Set a list of actions that are executed when all the conditions of a rule are satisfied.
Parameters:
Returns:
withConditions
public RuleUpdateParameters withConditions(List
Set a list of conditions that must be matched for the actions to be executed.
Parameters:
Returns:
withMatchProcessingBehavior
public RuleUpdateParameters withMatchProcessingBehavior(MatchProcessingBehavior matchProcessingBehavior)
Set if this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Possible values include: 'Continue', 'Stop'.
Parameters:
Returns:
withOrder
public RuleUpdateParameters withOrder(Integer order)
Set the order in which the rules are applied for the endpoint. Possible values {0,1,2,3,\u2026\u2026\u2026}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.
Parameters:
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin