public final class AutoHealActions extends Object
| Constructor and Description |
|---|
AutoHealActions() |
| Modifier and Type | Method and Description |
|---|---|
AutoHealActionType |
actionType()
Get the actionType property: Predefined action to be taken.
|
AutoHealCustomAction |
customAction()
Get the customAction property: Custom action to be taken.
|
String |
minProcessExecutionTime()
Get the minProcessExecutionTime property: Minimum time the process must execute before taking the action.
|
void |
validate()
Validates the instance.
|
AutoHealActions |
withActionType(AutoHealActionType actionType)
Set the actionType property: Predefined action to be taken.
|
AutoHealActions |
withCustomAction(AutoHealCustomAction customAction)
Set the customAction property: Custom action to be taken.
|
AutoHealActions |
withMinProcessExecutionTime(String minProcessExecutionTime)
Set the minProcessExecutionTime property: Minimum time the process must execute before taking the action.
|
public AutoHealActionType actionType()
public AutoHealActions withActionType(AutoHealActionType actionType)
actionType - the actionType value to set.public AutoHealCustomAction customAction()
public AutoHealActions withCustomAction(AutoHealCustomAction customAction)
customAction - the customAction value to set.public String minProcessExecutionTime()
public AutoHealActions withMinProcessExecutionTime(String minProcessExecutionTime)
minProcessExecutionTime - the minProcessExecutionTime 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.