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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the appSettings property: Application settings of the workflow.files()
Get the files property: Files of the app.Get the filesToDelete property: Files of the app to delete.static WorkflowArtifacts
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowArtifacts from the JsonReader.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAppSettings
(Object appSettings) Set the appSettings property: Application settings of the workflow.Set the files property: Files of the app.withFilesToDelete
(List<String> filesToDelete) Set the filesToDelete property: Files of the app to delete.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
WorkflowArtifacts
public WorkflowArtifacts()Creates an instance of WorkflowArtifacts class.
-
-
Method Details
-
appSettings
Get the appSettings property: Application settings of the workflow.- Returns:
- the appSettings value.
-
withAppSettings
Set the appSettings property: Application settings of the workflow.- Parameters:
appSettings
- the appSettings value to set.- Returns:
- the WorkflowArtifacts object itself.
-
files
Get the files property: Files of the app.- Returns:
- the files value.
-
withFiles
Set the files property: Files of the app.- Parameters:
files
- the files value to set.- Returns:
- the WorkflowArtifacts object itself.
-
filesToDelete
Get the filesToDelete property: Files of the app to delete.- Returns:
- the filesToDelete value.
-
withFilesToDelete
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
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<WorkflowArtifacts>
- Throws:
IOException
-
fromJson
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.
-