Compartilhar via


DeploymentStacksParametersLink Class

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

Implements

public final class DeploymentStacksParametersLink
implements JsonSerializable<DeploymentStacksParametersLink>

Entity representing the reference to the deployment parameters.

Constructor Summary

Constructor Description
DeploymentStacksParametersLink()

Creates an instance of DeploymentStacksParametersLink class.

Method Summary

Modifier and Type Method and Description
String contentVersion()

Get the contentVersion property: If included, must match the ContentVersion in the template.

static DeploymentStacksParametersLink fromJson(JsonReader jsonReader)

Reads an instance of DeploymentStacksParametersLink from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: The URI of the parameters file.

void validate()

Validates the instance.

DeploymentStacksParametersLink withContentVersion(String contentVersion)

Set the contentVersion property: If included, must match the ContentVersion in the template.

DeploymentStacksParametersLink withUri(String uri)

Set the uri property: The URI of the parameters file.

Methods inherited from java.lang.Object

Constructor Details

public DeploymentStacksParametersLink()

Creates an instance of DeploymentStacksParametersLink class.

Method Details

public String contentVersion()

Get the contentVersion property: If included, must match the ContentVersion in the template.

Returns:

the contentVersion value.

public static DeploymentStacksParametersLink fromJson(JsonReader jsonReader)

Reads an instance of DeploymentStacksParametersLink from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

public String uri()

Get the uri property: The URI of the parameters file.

Returns:

the uri value.

public void validate()

Validates the instance.

public DeploymentStacksParametersLink withContentVersion(String contentVersion)

Set the contentVersion property: If included, must match the ContentVersion in the template.

Parameters:

contentVersion - the contentVersion value to set.

Returns:

the DeploymentStacksParametersLink object itself.

public DeploymentStacksParametersLink withUri(String uri)

Set the uri property: The URI of the parameters file.

Parameters:

uri - the uri value to set.

Returns:

the DeploymentStacksParametersLink object itself.

Applies to