Class AtlasClassification
java.lang.Object
com.azure.analytics.purview.datamap.models.AtlasClassification
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AtlasClassification>
public final class AtlasClassification
extends Object
implements com.azure.json.JsonSerializable<AtlasClassification>
An instance of a classification; it doesn't have an identity, this object
exists only when associated with an entity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasClassificationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasClassification from the JsonReader.Get the attributes property: The attributes of the struct.Get the entityGuid property: The GUID of the entity.Get the entityStatus property: Status of the entity - can be active or deleted.Get the lastModifiedTS property: ETag for concurrency control.Get the typeName property: The name of the type.Get the validityPeriods property: An array of time boundaries indicating validity periods.Get the removePropagationsOnEntityDelete property: Determines if propagations will be removed on entity deletion.setAttributes(Map<String, com.azure.core.util.BinaryData> attributes) Set the attributes property: The attributes of the struct.setEntityGuid(String entityGuid) Set the entityGuid property: The GUID of the entity.setEntityStatus(EntityStatus entityStatus) Set the entityStatus property: Status of the entity - can be active or deleted.setLastModifiedTS(String lastModifiedTS) Set the lastModifiedTS property: ETag for concurrency control.setRemovePropagationsOnEntityDelete(Boolean removePropagationsOnEntityDelete) Set the removePropagationsOnEntityDelete property: Determines if propagations will be removed on entity deletion.setTypeName(String typeName) Set the typeName property: The name of the type.setValidityPeriods(List<TimeBoundary> validityPeriods) Set the validityPeriods property: An array of time boundaries indicating validity periods.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
-
AtlasClassification
public AtlasClassification()Creates an instance of AtlasClassification class.
-
-
Method Details
-
getAttributes
Get the attributes property: The attributes of the struct.- Returns:
- the attributes value.
-
setAttributes
Set the attributes property: The attributes of the struct.- Parameters:
attributes- the attributes value to set.- Returns:
- the AtlasClassification 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 AtlasClassification object itself.
-
getLastModifiedTS
Get the lastModifiedTS property: ETag for concurrency control.- Returns:
- the lastModifiedTS value.
-
setLastModifiedTS
Set the lastModifiedTS property: ETag for concurrency control.- Parameters:
lastModifiedTS- the lastModifiedTS value to set.- Returns:
- the AtlasClassification object itself.
-
getEntityGuid
Get the entityGuid property: The GUID of the entity.- Returns:
- the entityGuid value.
-
setEntityGuid
Set the entityGuid property: The GUID of the entity.- Parameters:
entityGuid- the entityGuid value to set.- Returns:
- the AtlasClassification 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 AtlasClassification object itself.
-
isRemovePropagationsOnEntityDelete
Get the removePropagationsOnEntityDelete property: Determines if propagations will be removed on entity deletion.- Returns:
- the removePropagationsOnEntityDelete value.
-
setRemovePropagationsOnEntityDelete
public AtlasClassification setRemovePropagationsOnEntityDelete(Boolean removePropagationsOnEntityDelete) Set the removePropagationsOnEntityDelete property: Determines if propagations will be removed on entity deletion.- Parameters:
removePropagationsOnEntityDelete- the removePropagationsOnEntityDelete value to set.- Returns:
- the AtlasClassification object itself.
-
getValidityPeriods
Get the validityPeriods property: An array of time boundaries indicating validity periods.- Returns:
- the validityPeriods value.
-
setValidityPeriods
Set the validityPeriods property: An array of time boundaries indicating validity periods.- Parameters:
validityPeriods- the validityPeriods value to set.- Returns:
- the AtlasClassification object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AtlasClassification>- Throws:
IOException
-
fromJson
Reads an instance of AtlasClassification from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AtlasClassification 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 AtlasClassification.
-