public final class ParameterDefinitionsValue extends Object
| Constructor and Description |
|---|
ParameterDefinitionsValue() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
allowedValues()
Get the allowedValues property: The allowed values for the parameter.
|
Object |
defaultValue()
Get the defaultValue property: The default value for the parameter if no value is provided.
|
ParameterDefinitionsValueMetadata |
metadata()
Get the metadata property: General metadata for the parameter.
|
ParameterType |
type()
Get the type property: The data type of the parameter.
|
void |
validate()
Validates the instance.
|
ParameterDefinitionsValue |
withAllowedValues(List<Object> allowedValues)
Set the allowedValues property: The allowed values for the parameter.
|
ParameterDefinitionsValue |
withDefaultValue(Object defaultValue)
Set the defaultValue property: The default value for the parameter if no value is provided.
|
ParameterDefinitionsValue |
withMetadata(ParameterDefinitionsValueMetadata metadata)
Set the metadata property: General metadata for the parameter.
|
ParameterDefinitionsValue |
withType(ParameterType type)
Set the type property: The data type of the parameter.
|
public ParameterType type()
public ParameterDefinitionsValue withType(ParameterType type)
type - the type value to set.public List<Object> allowedValues()
public ParameterDefinitionsValue withAllowedValues(List<Object> allowedValues)
allowedValues - the allowedValues value to set.public Object defaultValue()
public ParameterDefinitionsValue withDefaultValue(Object defaultValue)
defaultValue - the defaultValue value to set.public ParameterDefinitionsValueMetadata metadata()
public ParameterDefinitionsValue withMetadata(ParameterDefinitionsValueMetadata metadata)
metadata - the metadata value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.