Class ParametersLink
java.lang.Object
com.azure.resourcemanager.resources.models.ParametersLink
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ParametersLink>
public final class ParametersLink
extends Object
implements com.azure.json.JsonSerializable<ParametersLink>
Entity representing the reference to the deployment parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the contentVersion property: If included, must match the ContentVersion in the template.static ParametersLinkfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ParametersLink from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) uri()Get the uri property: The URI of the parameters file.voidvalidate()Validates the instance.withContentVersion(String contentVersion) Set the contentVersion property: If included, must match the ContentVersion in the template.Set the uri property: The URI of the parameters file.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ParametersLink
public ParametersLink()Creates an instance of ParametersLink class.
-
-
Method Details
-
uri
Get the uri property: The URI of the parameters file.- Returns:
- the uri value.
-
withUri
Set the uri property: The URI of the parameters file.- Parameters:
uri- the uri value to set.- Returns:
- the ParametersLink object itself.
-
contentVersion
Get the contentVersion property: If included, must match the ContentVersion in the template.- Returns:
- the contentVersion value.
-
withContentVersion
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ParametersLink>- Throws:
IOException
-
fromJson
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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ParametersLink.
-