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 Details

    • AtlasObjectId

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

    • getGuid

      public String getGuid()
      Get the guid property: The GUID of the object.
      Returns:
      the guid value.
    • setGuid

      public AtlasObjectId setGuid(String guid)
      Set the guid property: The GUID of the object.
      Parameters:
      guid - the guid value to set.
      Returns:
      the AtlasObjectId object itself.
    • getTypeName

      public String getTypeName()
      Get the typeName property: The name of the type.
      Returns:
      the typeName value.
    • setTypeName

      public AtlasObjectId setTypeName(String typeName)
      Set the typeName property: The name of the type.
      Parameters:
      typeName - the typeName value to set.
      Returns:
      the AtlasObjectId object itself.
    • getUniqueAttributes

      public Map<String,com.azure.core.util.BinaryData> 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

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

      public static AtlasObjectId fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.