public final class ParameterSpecification extends Object
| Constructor and Description |
|---|
ParameterSpecification() |
| Modifier and Type | Method and Description |
|---|---|
Object |
defaultValue()
Get the defaultValue property: Default value of parameter.
|
ParameterType |
type()
Get the type property: Parameter type.
|
void |
validate()
Validates the instance.
|
ParameterSpecification |
withDefaultValue(Object defaultValue)
Set the defaultValue property: Default value of parameter.
|
ParameterSpecification |
withType(ParameterType type)
Set the type property: Parameter type.
|
public ParameterType type()
public ParameterSpecification withType(ParameterType type)
type - the type value to set.public Object defaultValue()
public ParameterSpecification 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.