Class ResourceLink

java.lang.Object
com.azure.analytics.purview.datamap.models.ResourceLink
All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceLink>

public final class ResourceLink extends Object implements com.azure.json.JsonSerializable<ResourceLink>
ResourceLink.
  • Constructor Details

    • ResourceLink

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

    • getDisplayName

      public String getDisplayName()
      Get the displayName property: Display name for url.
      Returns:
      the displayName value.
    • setDisplayName

      public ResourceLink setDisplayName(String displayName)
      Set the displayName property: Display name for url.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ResourceLink object itself.
    • getUrl

      public String getUrl()
      Get the url property: web url. http or https.
      Returns:
      the url value.
    • setUrl

      public ResourceLink setUrl(String url)
      Set the url property: web url. http or https.
      Parameters:
      url - the url value to set.
      Returns:
      the ResourceLink object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ResourceLink>
      Throws:
      IOException
    • fromJson

      public static ResourceLink fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ResourceLink from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ResourceLink if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ResourceLink.