@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RealTimeContactAnalysisTranscriptItemRedaction extends Object implements Serializable, Cloneable, StructuredPojo
Object describing redaction applied to the segment.
| Constructor and Description |
|---|
RealTimeContactAnalysisTranscriptItemRedaction() |
| Modifier and Type | Method and Description |
|---|---|
RealTimeContactAnalysisTranscriptItemRedaction |
clone() |
boolean |
equals(Object obj) |
List<RealTimeContactAnalysisCharacterInterval> |
getCharacterOffsets()
List of character intervals each describing a part of the text that was redacted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCharacterOffsets(Collection<RealTimeContactAnalysisCharacterInterval> characterOffsets)
List of character intervals each describing a part of the text that was redacted.
|
String |
toString()
Returns a string representation of this object.
|
RealTimeContactAnalysisTranscriptItemRedaction |
withCharacterOffsets(Collection<RealTimeContactAnalysisCharacterInterval> characterOffsets)
List of character intervals each describing a part of the text that was redacted.
|
RealTimeContactAnalysisTranscriptItemRedaction |
withCharacterOffsets(RealTimeContactAnalysisCharacterInterval... characterOffsets)
List of character intervals each describing a part of the text that was redacted.
|
public RealTimeContactAnalysisTranscriptItemRedaction()
public List<RealTimeContactAnalysisCharacterInterval> getCharacterOffsets()
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.
OutputType.Raw, part of the original text that contains data that can be redacted. For
OutputType.Redacted, part of the string with redaction tag.public void setCharacterOffsets(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.
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.public RealTimeContactAnalysisTranscriptItemRedaction withCharacterOffsets(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.
NOTE: This method appends the values to the existing list (if any). Use
setCharacterOffsets(java.util.Collection) or withCharacterOffsets(java.util.Collection) if you
want to override the existing values.
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.public RealTimeContactAnalysisTranscriptItemRedaction withCharacterOffsets(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.
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.public String toString()
toString in class ObjectObject.toString()public RealTimeContactAnalysisTranscriptItemRedaction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.