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 Summary
ConstructorsConstructorDescriptionCreates an instance of ClassificationAssociateOptions class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ClassificationAssociateOptions from the JsonReader.Get the classification property: An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.Get the entityGuids property: The GUID of the entity.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.setEntityGuids(List<String> entityGuids) Set the entityGuids property: The GUID of the entity.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
-
ClassificationAssociateOptions
public ClassificationAssociateOptions()Creates an instance of ClassificationAssociateOptions class.
-
-
Method Details
-
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
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
Get the entityGuids property: The GUID of the entity.- Returns:
- the entityGuids value.
-
setEntityGuids
Set the entityGuids property: The GUID of the entity.- Parameters:
entityGuids- the entityGuids value to set.- Returns:
- the ClassificationAssociateOptions object itself.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-