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 Details

    • DeploymentStacksParametersLink

      public DeploymentStacksParametersLink()
      Creates an instance of DeploymentStacksParametersLink class.
  • Method Details

    • uri

      public String uri()
      Get the uri property: The URI of the parameters file.
      Returns:
      the uri value.
    • withUri

      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.
    • contentVersion

      public String contentVersion()
      Get the contentVersion property: If included, must match the ContentVersion in the template.
      Returns:
      the contentVersion value.
    • withContentVersion

      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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.