Condividi tramite


WorkflowHealth Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.WorkflowHealth

Implements

public final class WorkflowHealth
implements JsonSerializable<WorkflowHealth>

Represents the workflow health.

Method Summary

Modifier and Type Method and Description
ErrorEntity error()

Get the error property: Gets or sets the workflow error.

static WorkflowHealth fromJson(JsonReader jsonReader)

Reads an instance of WorkflowHealth from the JsonReader.

WorkflowHealthState state()

Get the state property: Gets or sets the workflow health state.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

error

public ErrorEntity error()

Get the error property: Gets or sets the workflow error.

Returns:

the error value.

fromJson

public static WorkflowHealth fromJson(JsonReader jsonReader)

Reads an instance of WorkflowHealth from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkflowHealth if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

state

public WorkflowHealthState state()

Get the state property: Gets or sets the workflow health state.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to