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 WorkflowOutputParameterfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowOutputParameter from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()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 WorkflowParameter
description, metadata, type, valueMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
withType
Set the type property: The type.- Overrides:
withTypein classWorkflowParameter- Parameters:
type- the type value to set.- Returns:
- the WorkflowParameter object itself.
-
withValue
Set the value property: The value.- Overrides:
withValuein classWorkflowParameter- Parameters:
value- the value value to set.- Returns:
- the WorkflowParameter object itself.
-
withMetadata
Set the metadata property: The metadata.- Overrides:
withMetadatain classWorkflowParameter- Parameters:
metadata- the metadata value to set.- Returns:
- the WorkflowParameter object itself.
-
withDescription
Set the description property: The description.- Overrides:
withDescriptionin classWorkflowParameter- Parameters:
description- the description value to set.- Returns:
- the WorkflowParameter object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classWorkflowParameter- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WorkflowParameter>- Overrides:
toJsonin 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.
-