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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasRelatedObjectIdfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasRelatedObjectId from the JsonReader.Get the displayText property: The display text.Get the entityStatus property: Status of the entity - can be active or deleted.getGuid()Get the guid property: The GUID of the object.Get the relationshipAttributes property: Captures details of struct contents.Get the relationshipGuid property: The GUID of the relationship.Get the relationshipStatus property: The enum of relationship status.Get the relationshipType property: Relationship type.Get the typeName property: The name of the type.Get the uniqueAttributes property: The unique attributes of the object.setDisplayText(String displayText) Set the displayText property: The display text.setEntityStatus(EntityStatus entityStatus) Set the entityStatus property: Status of the entity - can be active or deleted.Set the guid property: The GUID of the object.setRelationshipAttributes(AtlasStruct relationshipAttributes) Set the relationshipAttributes property: Captures details of struct contents.setRelationshipGuid(String relationshipGuid) Set the relationshipGuid property: The GUID of the relationship.setRelationshipStatus(StatusAtlasRelationship relationshipStatus) Set the relationshipStatus property: The enum of relationship status.setRelationshipType(String relationshipType) Set the relationshipType property: Relationship type.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
-
AtlasRelatedObjectId
public AtlasRelatedObjectId()Creates an instance of AtlasRelatedObjectId 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 AtlasRelatedObjectId 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 AtlasRelatedObjectId object itself.
-
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
Get the displayText property: The display text.- Returns:
- the displayText value.
-
setDisplayText
Set the displayText property: The display text.- Parameters:
displayText- the displayText value to set.- Returns:
- the AtlasRelatedObjectId object itself.
-
getEntityStatus
Get the entityStatus property: Status of the entity - can be active or deleted. Deleted entities are not removed.- Returns:
- the entityStatus value.
-
setEntityStatus
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
Get the relationshipType property: Relationship type.- Returns:
- the relationshipType value.
-
setRelationshipType
Set the relationshipType property: Relationship type.- Parameters:
relationshipType- the relationshipType value to set.- Returns:
- the AtlasRelatedObjectId object itself.
-
getRelationshipAttributes
Get the relationshipAttributes property: Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification.- Returns:
- the relationshipAttributes value.
-
setRelationshipAttributes
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
Get the relationshipGuid property: The GUID of the relationship.- Returns:
- the relationshipGuid value.
-
setRelationshipGuid
Set the relationshipGuid property: The GUID of the relationship.- Parameters:
relationshipGuid- the relationshipGuid value to set.- Returns:
- the AtlasRelatedObjectId object itself.
-
getRelationshipStatus
Get the relationshipStatus property: The enum of relationship status.- Returns:
- the relationshipStatus value.
-
setRelationshipStatus
Set the relationshipStatus property: The enum of relationship status.- Parameters:
relationshipStatus- the relationshipStatus value to set.- Returns:
- the AtlasRelatedObjectId object itself.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-