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 Details

    • DeidentificationContent

      public DeidentificationContent(String inputText)
      Creates an instance of DeidentificationContent class.
      Parameters:
      inputText - the inputText value to set.
  • Method Details

    • getInputText

      public String getInputText()
      Get the inputText property: Input text to de-identify.
      Returns:
      the inputText value.
    • getCustomizations

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

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

      public DeidentificationOperationType getOperationType()
      Get the operationType property: Operation to perform on the input documents.
      Returns:
      the operationType value.
    • setOperationType

      public DeidentificationContent setOperationType(DeidentificationOperationType operationType)
      Set the operationType property: Operation to perform on the input documents.
      Parameters:
      operationType - the operationType value to set.
      Returns:
      the DeidentificationContent object itself.