public class WorkflowParameter extends Object
Constructor and Description |
---|
WorkflowParameter() |
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description.
|
Object |
metadata()
Get the metadata property: The metadata.
|
ParameterType |
type()
Get the type property: The type.
|
void |
validate()
Validates the instance.
|
Object |
value()
Get the value property: The value.
|
WorkflowParameter |
withDescription(String description)
Set the description property: The description.
|
WorkflowParameter |
withMetadata(Object metadata)
Set the metadata property: The metadata.
|
WorkflowParameter |
withType(ParameterType type)
Set the type property: The type.
|
WorkflowParameter |
withValue(Object value)
Set the value property: The value.
|
public ParameterType type()
public WorkflowParameter withType(ParameterType type)
type
- the type value to set.public Object value()
public WorkflowParameter withValue(Object value)
value
- the value value to set.public Object metadata()
public WorkflowParameter withMetadata(Object metadata)
metadata
- the metadata value to set.public String description()
public WorkflowParameter withDescription(String description)
description
- the description value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.