Class DeidentificationContent
java.lang.Object
com.azure.health.deidentification.models.DeidentificationContent
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeidentificationContent>
public final class DeidentificationContent
extends Object
implements com.azure.json.JsonSerializable<DeidentificationContent>
Request body for de-identification operation.
-
Constructor Summary
ConstructorsConstructorDescriptionDeidentificationContent(String inputText) Creates an instance of DeidentificationContent class. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeidentificationContentfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeidentificationContent from the JsonReader.Get the customizations property: Customization parameters to override default service behaviors.Get the inputText property: Input text to de-identify.Get the operationType property: Operation to perform on the input documents.setCustomizations(DeidentificationCustomizationOptions customizations) Set the customizations property: Customization parameters to override default service behaviors.setOperationType(DeidentificationOperationType operationType) Set the operationType property: Operation to perform on the input documents.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
-
DeidentificationContent
Creates an instance of DeidentificationContent class.- Parameters:
inputText- the inputText value to set.
-
-
Method Details
-
getInputText
Get the inputText property: Input text to de-identify.- Returns:
- the inputText value.
-
getCustomizations
Get the customizations property: Customization parameters to override default service behaviors.- Returns:
- the customizations value.
-
setCustomizations
public DeidentificationContent setCustomizations(DeidentificationCustomizationOptions customizations) Set the customizations property: Customization parameters to override default service behaviors.- Parameters:
customizations- the customizations value to set.- Returns:
- the DeidentificationContent object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeidentificationContent>- Throws:
IOException
-
fromJson
public static DeidentificationContent fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DeidentificationContent from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DeidentificationContent if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DeidentificationContent.
-
getOperationType
Get the operationType property: Operation to perform on the input documents.- Returns:
- the operationType value.
-
setOperationType
Set the operationType property: Operation to perform on the input documents.- Parameters:
operationType- the operationType value to set.- Returns:
- the DeidentificationContent object itself.
-