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 Details

    • WorkflowEnvelopeProperties

      public WorkflowEnvelopeProperties()
      Creates an instance of WorkflowEnvelopeProperties class.
  • Method Details

    • files

      public Map<String,Object> files()
      Get the files property: Gets or sets the files.
      Returns:
      the files value.
    • withFiles

      public WorkflowEnvelopeProperties withFiles(Map<String,Object> files)
      Set the files property: Gets or sets the files.
      Parameters:
      files - the files value to set.
      Returns:
      the WorkflowEnvelopeProperties object itself.
    • flowState

      public WorkflowState flowState()
      Get the flowState property: Gets or sets the state of the workflow.
      Returns:
      the flowState value.
    • withFlowState

      public WorkflowEnvelopeProperties withFlowState(WorkflowState flowState)
      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

      public WorkflowHealth health()
      Get the health property: Gets or sets workflow health.
      Returns:
      the health value.
    • withHealth

      public WorkflowEnvelopeProperties withHealth(WorkflowHealth health)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.