Class DeploymentStacksParametersLink
java.lang.Object
com.azure.resourcemanager.resources.models.DeploymentStacksParametersLink
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeploymentStacksParametersLink>
public final class DeploymentStacksParametersLink
extends Object
implements com.azure.json.JsonSerializable<DeploymentStacksParametersLink>
Entity representing the reference to the deployment parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeploymentStacksParametersLink class. -
Method Summary
Modifier and TypeMethodDescriptionGet the contentVersion property: If included, must match the ContentVersion in the template.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeploymentStacksParametersLink 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
-
DeploymentStacksParametersLink
public DeploymentStacksParametersLink()Creates an instance of DeploymentStacksParametersLink 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 DeploymentStacksParametersLink 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 DeploymentStacksParametersLink 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<DeploymentStacksParametersLink>- Throws:
IOException
-
fromJson
public static DeploymentStacksParametersLink fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DeploymentStacksParametersLink.
-