Class AtlasRelatedObjectId

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

public final class AtlasRelatedObjectId extends Object implements com.azure.json.JsonSerializable<AtlasRelatedObjectId>
Reference to an object-instance of AtlasEntity type used in relationship attribute values.
  • Constructor Details

    • AtlasRelatedObjectId

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

    • getGuid

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

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

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

      public AtlasRelatedObjectId setTypeName(String typeName)
      Set the typeName property: The name of the type.
      Parameters:
      typeName - the typeName value to set.
      Returns:
      the AtlasRelatedObjectId 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 AtlasRelatedObjectId 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 AtlasRelatedObjectId object itself.
    • getDisplayText

      public String getDisplayText()
      Get the displayText property: The display text.
      Returns:
      the displayText value.
    • setDisplayText

      public AtlasRelatedObjectId setDisplayText(String displayText)
      Set the displayText property: The display text.
      Parameters:
      displayText - the displayText value to set.
      Returns:
      the AtlasRelatedObjectId object itself.
    • getEntityStatus

      public EntityStatus getEntityStatus()
      Get the entityStatus property: Status of the entity - can be active or deleted. Deleted entities are not removed.
      Returns:
      the entityStatus value.
    • setEntityStatus

      public AtlasRelatedObjectId setEntityStatus(EntityStatus entityStatus)
      Set the entityStatus property: Status of the entity - can be active or deleted. Deleted entities are not removed.
      Parameters:
      entityStatus - the entityStatus value to set.
      Returns:
      the AtlasRelatedObjectId object itself.
    • getRelationshipType

      public String getRelationshipType()
      Get the relationshipType property: Relationship type.
      Returns:
      the relationshipType value.
    • setRelationshipType

      public AtlasRelatedObjectId setRelationshipType(String relationshipType)
      Set the relationshipType property: Relationship type.
      Parameters:
      relationshipType - the relationshipType value to set.
      Returns:
      the AtlasRelatedObjectId object itself.
    • getRelationshipAttributes

      public AtlasStruct getRelationshipAttributes()
      Get the relationshipAttributes property: Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification.
      Returns:
      the relationshipAttributes value.
    • setRelationshipAttributes

      public AtlasRelatedObjectId setRelationshipAttributes(AtlasStruct relationshipAttributes)
      Set the relationshipAttributes property: Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification.
      Parameters:
      relationshipAttributes - the relationshipAttributes value to set.
      Returns:
      the AtlasRelatedObjectId object itself.
    • getRelationshipGuid

      public String getRelationshipGuid()
      Get the relationshipGuid property: The GUID of the relationship.
      Returns:
      the relationshipGuid value.
    • setRelationshipGuid

      public AtlasRelatedObjectId setRelationshipGuid(String relationshipGuid)
      Set the relationshipGuid property: The GUID of the relationship.
      Parameters:
      relationshipGuid - the relationshipGuid value to set.
      Returns:
      the AtlasRelatedObjectId object itself.
    • getRelationshipStatus

      public StatusAtlasRelationship getRelationshipStatus()
      Get the relationshipStatus property: The enum of relationship status.
      Returns:
      the relationshipStatus value.
    • setRelationshipStatus

      public AtlasRelatedObjectId setRelationshipStatus(StatusAtlasRelationship relationshipStatus)
      Set the relationshipStatus property: The enum of relationship status.
      Parameters:
      relationshipStatus - the relationshipStatus value to set.
      Returns:
      the AtlasRelatedObjectId 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<AtlasRelatedObjectId>
      Throws:
      IOException
    • fromJson

      public static AtlasRelatedObjectId fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AtlasRelatedObjectId from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AtlasRelatedObjectId 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 AtlasRelatedObjectId.