Class AtlasObjectId
java.lang.Object
com.azure.analytics.purview.datamap.models.AtlasObjectId
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AtlasObjectId>
public final class AtlasObjectId
extends Object
implements com.azure.json.JsonSerializable<AtlasObjectId>
Reference to an object-instance of a type - like entity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasObjectIdfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasObjectId from the JsonReader.getGuid()Get the guid property: The GUID of the object.Get the typeName property: The name of the type.Get the uniqueAttributes property: The unique attributes of the object.Set the guid property: The GUID of the object.setTypeName(String typeName) Set the typeName property: The name of the type.setUniqueAttributes(Map<String, com.azure.core.util.BinaryData> uniqueAttributes) Set the uniqueAttributes property: The unique attributes of the object.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
-
AtlasObjectId
public AtlasObjectId()Creates an instance of AtlasObjectId class.
-
-
Method Details
-
getGuid
Get the guid property: The GUID of the object.- Returns:
- the guid value.
-
setGuid
Set the guid property: The GUID of the object.- Parameters:
guid- the guid value to set.- Returns:
- the AtlasObjectId object itself.
-
getTypeName
Get the typeName property: The name of the type.- Returns:
- the typeName value.
-
setTypeName
Set the typeName property: The name of the type.- Parameters:
typeName- the typeName value to set.- Returns:
- the AtlasObjectId object itself.
-
getUniqueAttributes
Get the uniqueAttributes property: The unique attributes of the object.- Returns:
- the uniqueAttributes value.
-
setUniqueAttributes
public AtlasObjectId setUniqueAttributes(Map<String, com.azure.core.util.BinaryData> uniqueAttributes) Set the uniqueAttributes property: The unique attributes of the object.- Parameters:
uniqueAttributes- the uniqueAttributes value to set.- Returns:
- the AtlasObjectId object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AtlasObjectId>- Throws:
IOException
-
fromJson
Reads an instance of AtlasObjectId from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AtlasObjectId 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 AtlasObjectId.
-