public final class VariableSpecification extends Object
| Constructor and Description |
|---|
VariableSpecification() |
| Modifier and Type | Method and Description |
|---|---|
Object |
defaultValue()
Get the defaultValue property: Default value of variable.
|
VariableType |
type()
Get the type property: Variable type.
|
void |
validate()
Validates the instance.
|
VariableSpecification |
withDefaultValue(Object defaultValue)
Set the defaultValue property: Default value of variable.
|
VariableSpecification |
withType(VariableType type)
Set the type property: Variable type.
|
public VariableType type()
public VariableSpecification withType(VariableType type)
type - the type value to set.public Object defaultValue()
public VariableSpecification withDefaultValue(Object defaultValue)
defaultValue - the defaultValue value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.