Class WorkflowEnvelopeProperties
java.lang.Object
com.azure.resourcemanager.appservice.models.WorkflowEnvelopeProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkflowEnvelopeProperties>
public final class WorkflowEnvelopeProperties
extends Object
implements com.azure.json.JsonSerializable<WorkflowEnvelopeProperties>
Additional workflow properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WorkflowEnvelopeProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfiles()Get the files property: Gets or sets the files.Get the flowState property: Gets or sets the state of the workflow.static WorkflowEnvelopePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowEnvelopeProperties from the JsonReader.health()Get the health property: Gets or sets workflow health.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the files property: Gets or sets the files.withFlowState(WorkflowState flowState) Set the flowState property: Gets or sets the state of the workflow.withHealth(WorkflowHealth health) Set the health property: Gets or sets workflow health.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
WorkflowEnvelopeProperties
public WorkflowEnvelopeProperties()Creates an instance of WorkflowEnvelopeProperties class.
-
-
Method Details
-
files
Get the files property: Gets or sets the files.- Returns:
- the files value.
-
withFiles
Set the files property: Gets or sets the files.- Parameters:
files- the files value to set.- Returns:
- the WorkflowEnvelopeProperties object itself.
-
flowState
Get the flowState property: Gets or sets the state of the workflow.- Returns:
- the flowState value.
-
withFlowState
Set the flowState property: Gets or sets the state of the workflow.- Parameters:
flowState- the flowState value to set.- Returns:
- the WorkflowEnvelopeProperties object itself.
-
health
Get the health property: Gets or sets workflow health.- Returns:
- the health value.
-
withHealth
Set the health property: Gets or sets workflow health.- Parameters:
health- the health value to set.- Returns:
- the WorkflowEnvelopeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WorkflowEnvelopeProperties>- Throws:
IOException
-
fromJson
public static WorkflowEnvelopeProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WorkflowEnvelopeProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of WorkflowEnvelopeProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the WorkflowEnvelopeProperties.
-