WorkflowParameter Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. WorkflowParameter
- com.
Implements
public class WorkflowParameter
implements JsonSerializable<WorkflowParameter>
The workflow parameters.
Constructor Summary
Constructor | Description |
---|---|
WorkflowParameter() |
Creates an instance of Workflow |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description. |
static
Workflow |
fromJson(JsonReader jsonReader)
Reads an instance of Workflow |
Object |
metadata()
Get the metadata property: The metadata. |
Json |
toJson(JsonWriter jsonWriter) |
Parameter |
type()
Get the type property: The type. |
void |
validate()
Validates the instance. |
Object |
value()
Get the value property: The value. |
Workflow |
withDescription(String description)
Set the description property: The description. |
Workflow |
withMetadata(Object metadata)
Set the metadata property: The metadata. |
Workflow |
withType(ParameterType type)
Set the type property: The type. |
Workflow |
withValue(Object value)
Set the value property: The value. |
Methods inherited from java.lang.Object
Constructor Details
WorkflowParameter
public WorkflowParameter()
Creates an instance of WorkflowParameter class.
Method Details
description
public String description()
Get the description property: The description.
Returns:
fromJson
public static WorkflowParameter fromJson(JsonReader jsonReader)
Reads an instance of WorkflowParameter from the JsonReader.
Parameters:
Returns:
Throws:
metadata
public Object metadata()
Get the metadata property: The metadata.
Returns:
toJson
type
public ParameterType type()
Get the type property: The type.
Returns:
validate
public void validate()
Validates the instance.
value
public Object value()
Get the value property: The value.
Returns:
withDescription
public WorkflowParameter withDescription(String description)
Set the description property: The description.
Parameters:
Returns:
withMetadata
public WorkflowParameter withMetadata(Object metadata)
Set the metadata property: The metadata.
Parameters:
Returns:
withType
public WorkflowParameter withType(ParameterType type)
Set the type property: The type.
Parameters:
Returns:
withValue
public WorkflowParameter withValue(Object value)
Set the value property: The value.
Parameters:
Returns:
Applies to
Azure SDK for Java