Aracılığıyla paylaş


RuleUpdateParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.RuleUpdateParameters

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<DeliveryRuleAction> actions()

Get a list of actions that are executed when all the conditions of a rule are satisfied.

java.util.List<DeliveryRuleCondition> conditions()

Get a list of conditions that must be matched for the actions to be executed.

MatchProcessingBehavior 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.

RuleUpdateParameters withActions(List<DeliveryRuleAction> actions)

Set a list of actions that are executed when all the conditions of a rule are satisfied.

RuleUpdateParameters withConditions(List<DeliveryRuleCondition> conditions)

Set a list of conditions that must be matched for the actions to be executed.

RuleUpdateParameters withMatchProcessingBehavior(MatchProcessingBehavior matchProcessingBehavior)

Set if this rule is a match should the rules engine continue running the remaining rules or stop.

RuleUpdateParameters withOrder(Integer order)

Set the order in which the rules are applied for the endpoint.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

RuleUpdateParameters

public RuleUpdateParameters()

Method Details

actions

public List actions()

Get a list of actions that are executed when all the conditions of a rule are satisfied.

Returns:

the actions value

conditions

public List conditions()

Get a list of conditions that must be matched for the actions to be executed.

Returns:

the conditions value

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:

the matchProcessingBehavior value

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:

the order value

withActions

public RuleUpdateParameters withActions(List actions)

Set a list of actions that are executed when all the conditions of a rule are satisfied.

Parameters:

actions - the actions value to set

Returns:

the RuleUpdateParameters object itself.

withConditions

public RuleUpdateParameters withConditions(List conditions)

Set a list of conditions that must be matched for the actions to be executed.

Parameters:

conditions - the conditions value to set

Returns:

the RuleUpdateParameters object itself.

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:

matchProcessingBehavior - the matchProcessingBehavior value to set

Returns:

the RuleUpdateParameters object itself.

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:

order - the order value to set

Returns:

the RuleUpdateParameters object itself.

Applies to