Class DeidentificationJobCustomizationOptions
java.lang.Object
com.azure.health.deidentification.models.DeidentificationJobCustomizationOptions
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeidentificationJobCustomizationOptions>
public final class DeidentificationJobCustomizationOptions
extends Object
implements com.azure.json.JsonSerializable<DeidentificationJobCustomizationOptions>
Customizations options to override default service behaviors for job usage.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeidentificationJobCustomizationOptions class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeidentificationJobCustomizationOptions 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
-
DeidentificationJobCustomizationOptions
public DeidentificationJobCustomizationOptions()Creates an instance of DeidentificationJobCustomizationOptions 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 DeidentificationJobCustomizationOptions 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 DeidentificationJobCustomizationOptions object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeidentificationJobCustomizationOptions>- Throws:
IOException
-
fromJson
public static DeidentificationJobCustomizationOptions fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DeidentificationJobCustomizationOptions from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DeidentificationJobCustomizationOptions 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 DeidentificationJobCustomizationOptions.
-