DeploymentParameter Class

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

Implements

public final class DeploymentParameter
implements JsonSerializable<DeploymentParameter>

Deployment parameter for the template.

Constructor Summary

Constructor Description
DeploymentParameter()

Creates an instance of DeploymentParameter class.

Method Summary

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

Reads an instance of DeploymentParameter from the JsonReader.

KeyVaultParameterReference reference()

Get the reference property: Azure Key Vault parameter reference.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Object value()

Get the value property: Input value to the parameter .

DeploymentParameter withReference(KeyVaultParameterReference reference)

Set the reference property: Azure Key Vault parameter reference.

DeploymentParameter withValue(Object value)

Set the value property: Input value to the parameter .

Methods inherited from java.lang.Object

Constructor Details

DeploymentParameter

public DeploymentParameter()

Creates an instance of DeploymentParameter class.

Method Details

fromJson

public static DeploymentParameter fromJson(JsonReader jsonReader)

Reads an instance of DeploymentParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

reference

public KeyVaultParameterReference reference()

Get the reference property: Azure Key Vault parameter reference.

Returns:

the reference value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public Object value()

Get the value property: Input value to the parameter .

Returns:

the value value.

withReference

public DeploymentParameter withReference(KeyVaultParameterReference reference)

Set the reference property: Azure Key Vault parameter reference.

Parameters:

reference - the reference value to set.

Returns:

the DeploymentParameter object itself.

withValue

public DeploymentParameter withValue(Object value)

Set the value property: Input value to the parameter .

Parameters:

value - the value value to set.

Returns:

the DeploymentParameter object itself.

Applies to