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