Class ClassificationAssociateOptions

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

public final class ClassificationAssociateOptions extends Object implements com.azure.json.JsonSerializable<ClassificationAssociateOptions>
The request payload for classification association.
  • Constructor Details

    • ClassificationAssociateOptions

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

    • getClassification

      public AtlasClassification getClassification()
      Get the classification property: An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.
      Returns:
      the classification value.
    • setClassification

      public ClassificationAssociateOptions setClassification(AtlasClassification classification)
      Set the classification property: An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.
      Parameters:
      classification - the classification value to set.
      Returns:
      the ClassificationAssociateOptions object itself.
    • getEntityGuids

      public List<String> getEntityGuids()
      Get the entityGuids property: The GUID of the entity.
      Returns:
      the entityGuids value.
    • setEntityGuids

      public ClassificationAssociateOptions setEntityGuids(List<String> entityGuids)
      Set the entityGuids property: The GUID of the entity.
      Parameters:
      entityGuids - the entityGuids value to set.
      Returns:
      the ClassificationAssociateOptions 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<ClassificationAssociateOptions>
      Throws:
      IOException
    • fromJson

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