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>
The workflow output parameter.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WorkflowOutputParameter class. -
Method Summary
Modifier and TypeMethodDescriptionerror()
Get the error property: Gets the error.static WorkflowOutputParameter
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowOutputParameter from the JsonReader.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDescription
(String description) Set the description property: The description.withMetadata
(Object metadata) Set the metadata property: The metadata.withType
(ParameterType type) Set the type property: The type.Set the value property: The value.Methods inherited from class com.azure.resourcemanager.appservice.models.WorkflowParameter
description, metadata, type, value
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
-
WorkflowOutputParameter
public WorkflowOutputParameter()Creates an instance of WorkflowOutputParameter class.
-
-
Method Details
-
error
Get the error property: Gets the error.- Returns:
- the error value.
-
withType
Set the type property: The type.- Overrides:
withType
in classWorkflowParameter
- Parameters:
type
- the type value to set.- Returns:
- the WorkflowParameter object itself.
-
withValue
Set the value property: The value.- Overrides:
withValue
in classWorkflowParameter
- Parameters:
value
- the value value to set.- Returns:
- the WorkflowParameter object itself.
-
withMetadata
Set the metadata property: The metadata.- Overrides:
withMetadata
in classWorkflowParameter
- Parameters:
metadata
- the metadata value to set.- Returns:
- the WorkflowParameter object itself.
-
withDescription
Set the description property: The description.- Overrides:
withDescription
in classWorkflowParameter
- Parameters:
description
- the description value to set.- Returns:
- the WorkflowParameter object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classWorkflowParameter
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<WorkflowParameter>
- Overrides:
toJson
in classWorkflowParameter
- 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.
-