Class WorkflowOutputParameter

java.lang.Object
com.azure.resourcemanager.appservice.models.WorkflowParameter
com.azure.resourcemanager.appservice.models.WorkflowOutputParameter
All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkflowParameter>

public final class WorkflowOutputParameter extends WorkflowParameter
The workflow output parameter.
  • Constructor Details

    • WorkflowOutputParameter

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

    • error

      public Object error()
      Get the error property: Gets the error.
      Returns:
      the error value.
    • withType

      public WorkflowOutputParameter withType(ParameterType type)
      Set the type property: The type.
      Overrides:
      withType in class WorkflowParameter
      Parameters:
      type - the type value to set.
      Returns:
      the WorkflowParameter object itself.
    • withValue

      public WorkflowOutputParameter withValue(Object value)
      Set the value property: The value.
      Overrides:
      withValue in class WorkflowParameter
      Parameters:
      value - the value value to set.
      Returns:
      the WorkflowParameter object itself.
    • withMetadata

      public WorkflowOutputParameter withMetadata(Object metadata)
      Set the metadata property: The metadata.
      Overrides:
      withMetadata in class WorkflowParameter
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the WorkflowParameter object itself.
    • withDescription

      public WorkflowOutputParameter withDescription(String description)
      Set the description property: The description.
      Overrides:
      withDescription in class WorkflowParameter
      Parameters:
      description - the description value to set.
      Returns:
      the WorkflowParameter object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class WorkflowParameter
      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<WorkflowParameter>
      Overrides:
      toJson in class WorkflowParameter
      Throws:
      IOException
    • fromJson

      public static WorkflowOutputParameter fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WorkflowOutputParameter from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WorkflowOutputParameter 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 WorkflowOutputParameter.