Interface RealTimeContactAnalysisTranscriptItemRedaction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RealTimeContactAnalysisTranscriptItemRedaction.Builder,RealTimeContactAnalysisTranscriptItemRedaction>,SdkBuilder<RealTimeContactAnalysisTranscriptItemRedaction.Builder,RealTimeContactAnalysisTranscriptItemRedaction>,SdkPojo
- Enclosing class:
- RealTimeContactAnalysisTranscriptItemRedaction
public static interface RealTimeContactAnalysisTranscriptItemRedaction.Builder extends SdkPojo, CopyableBuilder<RealTimeContactAnalysisTranscriptItemRedaction.Builder,RealTimeContactAnalysisTranscriptItemRedaction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RealTimeContactAnalysisTranscriptItemRedaction.BuildercharacterOffsets(Collection<RealTimeContactAnalysisCharacterInterval> characterOffsets)List of character intervals each describing a part of the text that was redacted.RealTimeContactAnalysisTranscriptItemRedaction.BuildercharacterOffsets(Consumer<RealTimeContactAnalysisCharacterInterval.Builder>... characterOffsets)List of character intervals each describing a part of the text that was redacted.RealTimeContactAnalysisTranscriptItemRedaction.BuildercharacterOffsets(RealTimeContactAnalysisCharacterInterval... characterOffsets)List of character intervals each describing a part of the text that was redacted.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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. ForOutputType.Redacted, part of the string with redaction tag.- Parameters:
characterOffsets- List of character intervals each describing a part of the text that was redacted. ForOutputType.Raw, part of the original text that contains data that can be redacted. ForOutputType.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. ForOutputType.Redacted, part of the string with redaction tag.- Parameters:
characterOffsets- List of character intervals each describing a part of the text that was redacted. ForOutputType.Raw, part of the original text that contains data that can be redacted. ForOutputType.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(Consumer<RealTimeContactAnalysisCharacterInterval.Builder>... characterOffsets)
List of character intervals each describing a part of the text that was redacted. For
This is a convenience method that creates an instance of theOutputType.Raw, part of the original text that contains data that can be redacted. ForOutputType.Redacted, part of the string with redaction tag.RealTimeContactAnalysisCharacterInterval.Builderavoiding the need to create one manually viaRealTimeContactAnalysisCharacterInterval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#characterOffsets(List.) - Parameters:
characterOffsets- a consumer that will call methods onRealTimeContactAnalysisCharacterInterval.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#characterOffsets(java.util.Collection)
-
-