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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceLinkfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourceLink from the JsonReader.Get the displayName property: Display name for url.getUrl()Get the url property: web url. http or https.setDisplayName(String displayName) Set the displayName property: Display name for url.Set the url property: web url. http or https.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) 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
-
ResourceLink
public ResourceLink()Creates an instance of ResourceLink class.
-
-
Method Details
-
getDisplayName
Get the displayName property: Display name for url.- Returns:
- the displayName value.
-
setDisplayName
Set the displayName property: Display name for url.- Parameters:
displayName- the displayName value to set.- Returns:
- the ResourceLink object itself.
-
getUrl
Get the url property: web url. http or https.- Returns:
- the url value.
-
setUrl
Set the url property: web url. http or https.- Parameters:
url- the url value to set.- Returns:
- the ResourceLink object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResourceLink>- Throws:
IOException
-
fromJson
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.
-