ArmTemplateParameter Class

  • java.lang.Object
    • com.azure.resourcemanager.operationsmanagement.models.ArmTemplateParameter

Implements

public final class ArmTemplateParameter
implements JsonSerializable<ArmTemplateParameter>

Parameter to pass to ARM template.

Constructor Summary

Constructor Description
ArmTemplateParameter()

Creates an instance of ArmTemplateParameter class.

Method Summary

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

Reads an instance of ArmTemplateParameter from the JsonReader.

String name()

Get the name property: name of the parameter.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: value for the parameter.

ArmTemplateParameter withName(String name)

Set the name property: name of the parameter.

ArmTemplateParameter withValue(String value)

Set the value property: value for the parameter.

Methods inherited from java.lang.Object

Constructor Details

ArmTemplateParameter

public ArmTemplateParameter()

Creates an instance of ArmTemplateParameter class.

Method Details

fromJson

public static ArmTemplateParameter fromJson(JsonReader jsonReader)

Reads an instance of ArmTemplateParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: name of the parameter.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: value for the parameter. In Jtoken.

Returns:

the value value.

withName

public ArmTemplateParameter withName(String name)

Set the name property: name of the parameter.

Parameters:

name - the name value to set.

Returns:

the ArmTemplateParameter object itself.

withValue

public ArmTemplateParameter withValue(String value)

Set the value property: value for the parameter. In Jtoken.

Parameters:

value - the value value to set.

Returns:

the ArmTemplateParameter object itself.

Applies to