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 Details

    • DeidentificationCustomizationOptions

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

    • getRedactionFormat

      public String 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

      public DeidentificationCustomizationOptions setRedactionFormat(String redactionFormat)
      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

      public String getSurrogateLocale()
      Get the surrogateLocale property: Locale in which the output surrogates are written.
      Returns:
      the surrogateLocale value.
    • setSurrogateLocale

      public DeidentificationCustomizationOptions setSurrogateLocale(String surrogateLocale)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.