AutoHealActions Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AutoHealActions
- com.
Implements
public final class AutoHealActions
implements JsonSerializable<AutoHealActions>
Actions which to take by the auto-heal module when a rule is triggered.
Constructor Summary
Constructor | Description |
---|---|
AutoHealActions() |
Creates an instance of Auto |
Method Summary
Modifier and Type | Method and Description |
---|---|
Auto |
actionType()
Get the action |
Auto |
customAction()
Get the custom |
static
Auto |
fromJson(JsonReader jsonReader)
Reads an instance of Auto |
String |
minProcessExecutionTime()
Get the min |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Auto |
withActionType(AutoHealActionType actionType)
Set the action |
Auto |
withCustomAction(AutoHealCustomAction customAction)
Set the custom |
Auto |
withMinProcessExecutionTime(String minProcessExecutionTime)
Set the min |
Methods inherited from java.lang.Object
Constructor Details
AutoHealActions
public AutoHealActions()
Creates an instance of AutoHealActions class.
Method Details
actionType
public AutoHealActionType actionType()
Get the actionType property: Predefined action to be taken.
Returns:
customAction
public AutoHealCustomAction customAction()
Get the customAction property: Custom action to be taken.
Returns:
fromJson
public static AutoHealActions fromJson(JsonReader jsonReader)
Reads an instance of AutoHealActions from the JsonReader.
Parameters:
Returns:
Throws:
minProcessExecutionTime
public String minProcessExecutionTime()
Get the minProcessExecutionTime property: Minimum time the process must execute before taking the action.
Returns:
toJson
validate
public void validate()
Validates the instance.
withActionType
public AutoHealActions withActionType(AutoHealActionType actionType)
Set the actionType property: Predefined action to be taken.
Parameters:
Returns:
withCustomAction
public AutoHealActions withCustomAction(AutoHealCustomAction customAction)
Set the customAction property: Custom action to be taken.
Parameters:
Returns:
withMinProcessExecutionTime
public AutoHealActions withMinProcessExecutionTime(String minProcessExecutionTime)
Set the minProcessExecutionTime property: Minimum time the process must execute before taking the action.
Parameters:
Returns:
Applies to
Azure SDK for Java