Interface RealTimeContactAnalysisSegmentTranscript.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RealTimeContactAnalysisSegmentTranscript.Builder,
,RealTimeContactAnalysisSegmentTranscript> SdkBuilder<RealTimeContactAnalysisSegmentTranscript.Builder,
,RealTimeContactAnalysisSegmentTranscript> SdkPojo
- Enclosing class:
RealTimeContactAnalysisSegmentTranscript
-
Method Summary
Modifier and TypeMethodDescriptionThe content of the transcript.contentType
(String contentType) The type of content of the item.displayName
(String displayName) The display name of the participant.The identifier of the transcript.participantId
(String participantId) The identifier of the participant.participantRole
(String participantRole) The role of the participant.participantRole
(ParticipantRole participantRole) The role of the participant.Object describing redaction that was applied to the transcript.Object describing redaction that was applied to the transcript.The sentiment detected for this piece of transcript.sentiment
(RealTimeContactAnalysisSentimentLabel sentiment) The sentiment detected for this piece of transcript.Field describing the time of the event.Field describing the time of the event.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
-
id
The identifier of the transcript.
- Parameters:
id
- The identifier of the transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantId
The identifier of the participant.
- Parameters:
participantId
- The identifier of the participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantRole
The role of the participant. For example, is it a customer, agent, or system.
- Parameters:
participantRole
- The role of the participant. For example, is it a customer, agent, or system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
participantRole
The role of the participant. For example, is it a customer, agent, or system.
- Parameters:
participantRole
- The role of the participant. For example, is it a customer, agent, or system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayName
The display name of the participant.
- Parameters:
displayName
- The display name of the participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the transcript. Can be redacted.
- Parameters:
content
- The content of the transcript. Can be redacted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The type of content of the item. For example,
text/plain
.- Parameters:
contentType
- The type of content of the item. For example,text/plain
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
Field describing the time of the event. It can have different representations of time.
- Parameters:
time
- Field describing the time of the event. It can have different representations of time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
default RealTimeContactAnalysisSegmentTranscript.Builder time(Consumer<RealTimeContactAnalysisTimeData.Builder> time) Field describing the time of the event. It can have different representations of time.
This is a convenience method that creates an instance of theRealTimeContactAnalysisTimeData.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisTimeData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totime(RealTimeContactAnalysisTimeData)
.- Parameters:
time
- a consumer that will call methods onRealTimeContactAnalysisTimeData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redaction
RealTimeContactAnalysisSegmentTranscript.Builder redaction(RealTimeContactAnalysisTranscriptItemRedaction redaction) Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.
- Parameters:
redaction
- Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redaction
default RealTimeContactAnalysisSegmentTranscript.Builder redaction(Consumer<RealTimeContactAnalysisTranscriptItemRedaction.Builder> redaction) Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.
This is a convenience method that creates an instance of theRealTimeContactAnalysisTranscriptItemRedaction.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisTranscriptItemRedaction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredaction(RealTimeContactAnalysisTranscriptItemRedaction)
.- Parameters:
redaction
- a consumer that will call methods onRealTimeContactAnalysisTranscriptItemRedaction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sentiment
The sentiment detected for this piece of transcript.
- Parameters:
sentiment
- The sentiment detected for this piece of transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sentiment
RealTimeContactAnalysisSegmentTranscript.Builder sentiment(RealTimeContactAnalysisSentimentLabel sentiment) The sentiment detected for this piece of transcript.
- Parameters:
sentiment
- The sentiment detected for this piece of transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-