ParameterDefinitionsValue Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ParameterDefinitionsValue
- com.
Implements
public final class ParameterDefinitionsValue
implements JsonSerializable<ParameterDefinitionsValue>
The definition of a parameter that can be provided to the policy.
Constructor Summary
Constructor | Description |
---|---|
ParameterDefinitionsValue() |
Creates an instance of Parameter |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Object> |
allowedValues()
Get the allowed |
Object |
defaultValue()
Get the default |
static
Parameter |
fromJson(JsonReader jsonReader)
Reads an instance of Parameter |
Parameter |
metadata()
Get the metadata property: General metadata for the parameter. |
Json |
toJson(JsonWriter jsonWriter) |
Parameter |
type()
Get the type property: The data type of the parameter. |
void |
validate()
Validates the instance. |
Parameter |
withAllowedValues(List<Object> allowedValues)
Set the allowed |
Parameter |
withDefaultValue(Object defaultValue)
Set the default |
Parameter |
withMetadata(ParameterDefinitionsValueMetadata metadata)
Set the metadata property: General metadata for the parameter. |
Parameter |
withType(ParameterType type)
Set the type property: The data type of the parameter. |
Methods inherited from java.lang.Object
Constructor Details
ParameterDefinitionsValue
public ParameterDefinitionsValue()
Creates an instance of ParameterDefinitionsValue class.
Method Details
allowedValues
public List
Azure SDK for Java