Freigeben über


ParameterValuesValue Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.ParameterValuesValue

Implements

public final class ParameterValuesValue
implements JsonSerializable<ParameterValuesValue>

The value of a parameter.

Constructor Summary

Constructor Description
ParameterValuesValue()

Creates an instance of ParameterValuesValue class.

Method Summary

Modifier and Type Method and Description
static ParameterValuesValue fromJson(JsonReader jsonReader)

Reads an instance of ParameterValuesValue from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Object value()

Get the value property: The value of the parameter.

ParameterValuesValue withValue(Object value)

Set the value property: The value of the parameter.

Methods inherited from java.lang.Object

Constructor Details

ParameterValuesValue

public ParameterValuesValue()

Creates an instance of ParameterValuesValue class.

Method Details

fromJson

public static ParameterValuesValue fromJson(JsonReader jsonReader)

Reads an instance of ParameterValuesValue from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ParameterValuesValue if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ParameterValuesValue.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public Object value()

Get the value property: The value of the parameter.

Returns:

the value value.

withValue

public ParameterValuesValue withValue(Object value)

Set the value property: The value of the parameter.

Parameters:

value - the value value to set.

Returns:

the ParameterValuesValue object itself.

Applies to