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 Details

    • AtlasClassification

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

    • getAttributes

      public Map<String,com.azure.core.util.BinaryData> getAttributes()
      Get the attributes property: The attributes of the struct.
      Returns:
      the attributes value.
    • setAttributes

      public AtlasClassification setAttributes(Map<String,com.azure.core.util.BinaryData> attributes)
      Set the attributes property: The attributes of the struct.
      Parameters:
      attributes - the attributes value to set.
      Returns:
      the AtlasClassification object itself.
    • getTypeName

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

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

      public String getLastModifiedTS()
      Get the lastModifiedTS property: ETag for concurrency control.
      Returns:
      the lastModifiedTS value.
    • setLastModifiedTS

      public AtlasClassification setLastModifiedTS(String lastModifiedTS)
      Set the lastModifiedTS property: ETag for concurrency control.
      Parameters:
      lastModifiedTS - the lastModifiedTS value to set.
      Returns:
      the AtlasClassification object itself.
    • getEntityGuid

      public String getEntityGuid()
      Get the entityGuid property: The GUID of the entity.
      Returns:
      the entityGuid value.
    • setEntityGuid

      public AtlasClassification setEntityGuid(String entityGuid)
      Set the entityGuid property: The GUID of the entity.
      Parameters:
      entityGuid - the entityGuid value to set.
      Returns:
      the AtlasClassification 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 AtlasClassification 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 AtlasClassification object itself.
    • isRemovePropagationsOnEntityDelete

      public Boolean 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

      public List<TimeBoundary> getValidityPeriods()
      Get the validityPeriods property: An array of time boundaries indicating validity periods.
      Returns:
      the validityPeriods value.
    • setValidityPeriods

      public AtlasClassification setValidityPeriods(List<TimeBoundary> validityPeriods)
      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

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

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