public final class AutoHealRules extends Object
| Constructor and Description |
|---|
AutoHealRules() |
| Modifier and Type | Method and Description |
|---|---|
AutoHealActions |
actions()
Get the actions property: Actions to be executed when a rule is triggered.
|
AutoHealTriggers |
triggers()
Get the triggers property: Conditions that describe when to execute the auto-heal actions.
|
void |
validate()
Validates the instance.
|
AutoHealRules |
withActions(AutoHealActions actions)
Set the actions property: Actions to be executed when a rule is triggered.
|
AutoHealRules |
withTriggers(AutoHealTriggers triggers)
Set the triggers property: Conditions that describe when to execute the auto-heal actions.
|
public AutoHealTriggers triggers()
public AutoHealRules withTriggers(AutoHealTriggers triggers)
triggers - the triggers value to set.public AutoHealActions actions()
public AutoHealRules withActions(AutoHealActions actions)
actions - the actions value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.