ArmTemplateParameterProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devtestlabs.models.ArmTemplateParameterProperties

Implements

public final class ArmTemplateParameterProperties
implements JsonSerializable<ArmTemplateParameterProperties>

Properties of an Azure Resource Manager template parameter.

Constructor Summary

Constructor Description
ArmTemplateParameterProperties()

Creates an instance of ArmTemplateParameterProperties class.

Method Summary

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

Reads an instance of ArmTemplateParameterProperties from the JsonReader.

String name()

Get the name property: The name of the template parameter.

JsonWriter toJson(JsonWriter jsonWriter)
String value()

Get the value property: The value of the template parameter.

ArmTemplateParameterProperties withName(String name)

Set the name property: The name of the template parameter.

ArmTemplateParameterProperties withValue(String value)

Set the value property: The value of the template parameter.

Methods inherited from java.lang.Object

Constructor Details

ArmTemplateParameterProperties

public ArmTemplateParameterProperties()

Creates an instance of ArmTemplateParameterProperties class.

Method Details

fromJson

public static ArmTemplateParameterProperties fromJson(JsonReader jsonReader)

Reads an instance of ArmTemplateParameterProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ArmTemplateParameterProperties 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 ArmTemplateParameterProperties.

name

public String name()

Get the name property: The name of the template parameter.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

value

public String value()

Get the value property: The value of the template parameter.

Returns:

the value value.

withName

public ArmTemplateParameterProperties withName(String name)

Set the name property: The name of the template parameter.

Parameters:

name - the name value to set.

Returns:

the ArmTemplateParameterProperties object itself.

withValue

public ArmTemplateParameterProperties withValue(String value)

Set the value property: The value of the template parameter.

Parameters:

value - the value value to set.

Returns:

the ArmTemplateParameterProperties object itself.

Applies to