Class ContentLink

java.lang.Object
com.azure.resourcemanager.appservice.models.ContentLink

public final class ContentLink extends Object
The content link.
  • Constructor Details

    • ContentLink

      public ContentLink()
  • Method Details

    • uri

      public String uri()
      Get the uri property: The content link URI.
      Returns:
      the uri value.
    • withUri

      public ContentLink withUri(String uri)
      Set the uri property: The content link URI.
      Parameters:
      uri - the uri value to set.
      Returns:
      the ContentLink object itself.
    • contentVersion

      public String contentVersion()
      Get the contentVersion property: The content version.
      Returns:
      the contentVersion value.
    • contentSize

      public Long contentSize()
      Get the contentSize property: The content size.
      Returns:
      the contentSize value.
    • contentHash

      public ContentHash contentHash()
      Get the contentHash property: The content hash.
      Returns:
      the contentHash value.
    • metadata

      public Object metadata()
      Get the metadata property: The metadata.
      Returns:
      the metadata value.
    • validate

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