Class WorkflowArtifacts

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

public final class WorkflowArtifacts extends Object implements com.azure.json.JsonSerializable<WorkflowArtifacts>
The workflow filter.
  • Constructor Details

    • WorkflowArtifacts

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

    • appSettings

      public Object appSettings()
      Get the appSettings property: Application settings of the workflow.
      Returns:
      the appSettings value.
    • withAppSettings

      public WorkflowArtifacts withAppSettings(Object appSettings)
      Set the appSettings property: Application settings of the workflow.
      Parameters:
      appSettings - the appSettings value to set.
      Returns:
      the WorkflowArtifacts object itself.
    • files

      public Map<String,Object> files()
      Get the files property: Files of the app.
      Returns:
      the files value.
    • withFiles

      public WorkflowArtifacts withFiles(Map<String,Object> files)
      Set the files property: Files of the app.
      Parameters:
      files - the files value to set.
      Returns:
      the WorkflowArtifacts object itself.
    • filesToDelete

      public List<String> filesToDelete()
      Get the filesToDelete property: Files of the app to delete.
      Returns:
      the filesToDelete value.
    • withFilesToDelete

      public WorkflowArtifacts withFilesToDelete(List<String> filesToDelete)
      Set the filesToDelete property: Files of the app to delete.
      Parameters:
      filesToDelete - the filesToDelete value to set.
      Returns:
      the WorkflowArtifacts 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<WorkflowArtifacts>
      Throws:
      IOException
    • fromJson

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