Interface RealTimeContactAnalysisTranscriptItemRedaction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RealTimeContactAnalysisTranscriptItemRedaction.Builder,
,RealTimeContactAnalysisTranscriptItemRedaction> SdkBuilder<RealTimeContactAnalysisTranscriptItemRedaction.Builder,
,RealTimeContactAnalysisTranscriptItemRedaction> SdkPojo
- Enclosing class:
RealTimeContactAnalysisTranscriptItemRedaction
-
Method Summary
Modifier and TypeMethodDescriptioncharacterOffsets
(Collection<RealTimeContactAnalysisCharacterInterval> characterOffsets) List of character intervals each describing a part of the text that was redacted.characterOffsets
(Consumer<RealTimeContactAnalysisCharacterInterval.Builder>... characterOffsets) List of character intervals each describing a part of the text that was redacted.characterOffsets
(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 Details
-
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.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisCharacterInterval.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocharacterOffsets(List<RealTimeContactAnalysisCharacterInterval>)
.- 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:
-