WorkflowHealth Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. WorkflowHealth
- com.
Implements
public final class WorkflowHealth
implements JsonSerializable<WorkflowHealth>
Represents the workflow health.
Constructor Summary
Constructor | Description |
---|---|
WorkflowHealth() |
Creates an instance of Workflow |
Method Summary
Modifier and Type | Method and Description |
---|---|
Error |
error()
Get the error property: Gets or sets the workflow error. |
static
Workflow |
fromJson(JsonReader jsonReader)
Reads an instance of Workflow |
Workflow |
state()
Get the state property: Gets or sets the workflow health state. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Workflow |
withError(ErrorEntity error)
Set the error property: Gets or sets the workflow error. |
Workflow |
withState(WorkflowHealthState state)
Set the state property: Gets or sets the workflow health state. |
Methods inherited from java.lang.Object
Constructor Details
WorkflowHealth
public WorkflowHealth()
Creates an instance of WorkflowHealth class.
Method Details
error
public ErrorEntity error()
Get the error property: Gets or sets the workflow error.
Returns:
fromJson
public static WorkflowHealth fromJson(JsonReader jsonReader)
Reads an instance of WorkflowHealth from the JsonReader.
Parameters:
Returns:
Throws:
state
public WorkflowHealthState state()
Get the state property: Gets or sets the workflow health state.
Returns:
toJson
validate
public void validate()
Validates the instance.
withError
public WorkflowHealth withError(ErrorEntity error)
Set the error property: Gets or sets the workflow error.
Parameters:
Returns:
withState
public WorkflowHealth withState(WorkflowHealthState state)
Set the state property: Gets or sets the workflow health state.
Parameters:
Returns:
Applies to
Azure SDK for Java