Interface RealTimeContactAnalysisTranscriptItemRedaction.Builder

    • Method Detail

      • characterOffsets

        RealTimeContactAnalysisTranscriptItemRedaction.Builder characterOffsets​(Collection<RealTimeContactAnalysisCharacterInterval> characterOffsets)

        List of character intervals each describing a part of the text that was redacted. For OutputType.Raw, part of the original text that contains data that can be redacted. For OutputType.Redacted, part of the string with redaction tag.

        Parameters:
        characterOffsets - List of character intervals each describing a part of the text that was redacted. For OutputType.Raw, part of the original text that contains data that can be redacted. For OutputType.Redacted, part of the string with redaction tag.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • characterOffsets

        RealTimeContactAnalysisTranscriptItemRedaction.Builder characterOffsets​(RealTimeContactAnalysisCharacterInterval... characterOffsets)

        List of character intervals each describing a part of the text that was redacted. For OutputType.Raw, part of the original text that contains data that can be redacted. For OutputType.Redacted, part of the string with redaction tag.

        Parameters:
        characterOffsets - List of character intervals each describing a part of the text that was redacted. For OutputType.Raw, part of the original text that contains data that can be redacted. For OutputType.Redacted, part of the string with redaction tag.
        Returns:
        Returns a reference to this object so that method calls can be chained together.