Class WorkflowHealth

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

public final class WorkflowHealth extends Object
Represents the workflow health.
  • Constructor Details

    • WorkflowHealth

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

    • state

      public WorkflowHealthState state()
      Get the state property: Gets or sets the workflow health state.
      Returns:
      the state value.
    • withState

      public WorkflowHealth withState(WorkflowHealthState state)
      Set the state property: Gets or sets the workflow health state.
      Parameters:
      state - the state value to set.
      Returns:
      the WorkflowHealth object itself.
    • error

      public ErrorEntity error()
      Get the error property: Gets or sets the workflow error.
      Returns:
      the error value.
    • withError

      public WorkflowHealth withError(ErrorEntity error)
      Set the error property: Gets or sets the workflow error.
      Parameters:
      error - the error value to set.
      Returns:
      the WorkflowHealth object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.