Class AutoHealCustomAction
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.AutoHealCustomAction
-
public final class AutoHealCustomAction extends Object
Custom action to be executed when an auto heal rule is triggered.
-
-
Constructor Summary
Constructors Constructor Description AutoHealCustomAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringexe()Get the exe property: Executable to be run.Stringparameters()Get the parameters property: Parameters for the executable.voidvalidate()Validates the instance.AutoHealCustomActionwithExe(String exe)Set the exe property: Executable to be run.AutoHealCustomActionwithParameters(String parameters)Set the parameters property: Parameters for the executable.
-
-
-
Method Detail
-
exe
public String exe()
Get the exe property: Executable to be run.- Returns:
- the exe value.
-
withExe
public AutoHealCustomAction withExe(String exe)
Set the exe property: Executable to be run.- Parameters:
exe- the exe value to set.- Returns:
- the AutoHealCustomAction object itself.
-
parameters
public String parameters()
Get the parameters property: Parameters for the executable.- Returns:
- the parameters value.
-
withParameters
public AutoHealCustomAction withParameters(String parameters)
Set the parameters property: Parameters for the executable.- Parameters:
parameters- the parameters value to set.- Returns:
- the AutoHealCustomAction object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-