Class WorkflowEnvelopeInner

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

public final class WorkflowEnvelopeInner extends Object implements com.azure.json.JsonSerializable<WorkflowEnvelopeInner>
Workflow properties definition.
  • Constructor Details

    • WorkflowEnvelopeInner

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

    • id

      public String id()
      Get the id property: The resource id.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: Gets the resource name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Gets the resource type.
      Returns:
      the type value.
    • kind

      public String kind()
      Get the kind property: The resource kind.
      Returns:
      the kind value.
    • withKind

      public WorkflowEnvelopeInner withKind(String kind)
      Set the kind property: The resource kind.
      Parameters:
      kind - the kind value to set.
      Returns:
      the WorkflowEnvelopeInner object itself.
    • location

      public String location()
      Get the location property: The resource location.
      Returns:
      the location value.
    • withLocation

      public WorkflowEnvelopeInner withLocation(String location)
      Set the location property: The resource location.
      Parameters:
      location - the location value to set.
      Returns:
      the WorkflowEnvelopeInner object itself.
    • properties

      public WorkflowEnvelopeProperties properties()
      Get the properties property: Additional workflow properties.
      Returns:
      the properties value.
    • withProperties

      public WorkflowEnvelopeInner withProperties(WorkflowEnvelopeProperties properties)
      Set the properties property: Additional workflow properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the WorkflowEnvelopeInner 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<WorkflowEnvelopeInner>
      Throws:
      IOException
    • fromJson

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