Class DeidentificationCustomizationOptions
java.lang.Object
com.azure.health.deidentification.models.DeidentificationCustomizationOptions
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeidentificationCustomizationOptions>
public final class DeidentificationCustomizationOptions
extends Object
implements com.azure.json.JsonSerializable<DeidentificationCustomizationOptions>
Customizations options to override default service behaviors for synchronous usage.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeidentificationCustomizationOptions class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeidentificationCustomizationOptions from the JsonReader.Get the redactionFormat property: Format of the redacted output.Get the surrogateLocale property: Locale in which the output surrogates are written.setRedactionFormat(String redactionFormat) Set the redactionFormat property: Format of the redacted output.setSurrogateLocale(String surrogateLocale) Set the surrogateLocale property: Locale in which the output surrogates are written.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
-
DeidentificationCustomizationOptions
public DeidentificationCustomizationOptions()Creates an instance of DeidentificationCustomizationOptions class.
-
-
Method Details
-
getRedactionFormat
Get the redactionFormat property: Format of the redacted output. Only valid when Operation is Redact. Please refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.- Returns:
- the redactionFormat value.
-
setRedactionFormat
Set the redactionFormat property: Format of the redacted output. Only valid when Operation is Redact. Please refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.- Parameters:
redactionFormat- the redactionFormat value to set.- Returns:
- the DeidentificationCustomizationOptions object itself.
-
getSurrogateLocale
Get the surrogateLocale property: Locale in which the output surrogates are written.- Returns:
- the surrogateLocale value.
-
setSurrogateLocale
Set the surrogateLocale property: Locale in which the output surrogates are written.- Parameters:
surrogateLocale- the surrogateLocale value to set.- Returns:
- the DeidentificationCustomizationOptions object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeidentificationCustomizationOptions>- Throws:
IOException
-
fromJson
public static DeidentificationCustomizationOptions fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DeidentificationCustomizationOptions from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DeidentificationCustomizationOptions 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 DeidentificationCustomizationOptions.
-