ProbeAction Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ProbeAction
- com.
Implements
public class ProbeAction
implements JsonSerializable<ProbeAction>
The action of the probe.
Constructor Summary
Constructor | Description |
---|---|
ProbeAction() |
Creates an instance of Probe |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Probe |
fromJson(JsonReader jsonReader)
Reads an instance of Probe |
Json |
toJson(JsonWriter jsonWriter) |
Probe |
type()
Get the type property: The type of the action to take to perform the health check. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ProbeAction
public ProbeAction()
Creates an instance of ProbeAction class.
Method Details
fromJson
public static ProbeAction fromJson(JsonReader jsonReader)
Reads an instance of ProbeAction from the JsonReader.
Parameters:
jsonReader
- The JsonReader being read.
Returns:
An instance of ProbeAction if the JsonReader was pointing to an instance of it, or null if it was
pointing to JSON null.
Throws:
- If an error occurs while reading the ProbeAction.
toJson
type
public ProbeActionType type()
Get the type property: The type of the action to take to perform the health check.
Returns:
the type value.
validate
public void validate()
Validates the instance.