Compartilhar via


ParametersLink Class

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

Implements

public final class ParametersLink
implements JsonSerializable<ParametersLink>

Entity representing the reference to the deployment parameters.

Constructor Summary

Constructor Description
ParametersLink()

Creates an instance of ParametersLink 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 ParametersLink fromJson(JsonReader jsonReader)

Reads an instance of ParametersLink from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

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

void validate()

Validates the instance.

ParametersLink withContentVersion(String contentVersion)

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

ParametersLink withUri(String uri)

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

Methods inherited from java.lang.Object

Constructor Details

public ParametersLink()

Creates an instance of ParametersLink 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 ParametersLink fromJson(JsonReader jsonReader)

Reads an instance of ParametersLink from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ParametersLink 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 ParametersLink 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 ParametersLink object itself.

public ParametersLink withUri(String uri)

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

Parameters:

uri - the uri value to set.

Returns:

the ParametersLink object itself.

Applies to