Interface RealTimeContactAnalysisSegmentTranscript.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RealTimeContactAnalysisSegmentTranscript.Builder,RealTimeContactAnalysisSegmentTranscript>,SdkBuilder<RealTimeContactAnalysisSegmentTranscript.Builder,RealTimeContactAnalysisSegmentTranscript>,SdkPojo
- Enclosing class:
- RealTimeContactAnalysisSegmentTranscript
public static interface RealTimeContactAnalysisSegmentTranscript.Builder extends SdkPojo, CopyableBuilder<RealTimeContactAnalysisSegmentTranscript.Builder,RealTimeContactAnalysisSegmentTranscript>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
RealTimeContactAnalysisSegmentTranscript.Builder id(String 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
RealTimeContactAnalysisSegmentTranscript.Builder participantId(String 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
RealTimeContactAnalysisSegmentTranscript.Builder participantRole(String 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,ParticipantRole
-
participantRole
RealTimeContactAnalysisSegmentTranscript.Builder participantRole(ParticipantRole 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,ParticipantRole
-
displayName
RealTimeContactAnalysisSegmentTranscript.Builder displayName(String 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
RealTimeContactAnalysisSegmentTranscript.Builder content(String 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
RealTimeContactAnalysisSegmentTranscript.Builder contentType(String 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
RealTimeContactAnalysisSegmentTranscript.Builder time(RealTimeContactAnalysisTimeData 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.Builderavoiding the need to create one manually viaRealTimeContactAnalysisTimeData.builder().When the
Consumercompletes,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:
time(RealTimeContactAnalysisTimeData)
-
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.Builderavoiding the need to create one manually viaRealTimeContactAnalysisTranscriptItemRedaction.builder().When the
Consumercompletes,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:
redaction(RealTimeContactAnalysisTranscriptItemRedaction)
-
sentiment
RealTimeContactAnalysisSegmentTranscript.Builder sentiment(String 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:
RealTimeContactAnalysisSentimentLabel,RealTimeContactAnalysisSentimentLabel
-
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:
RealTimeContactAnalysisSentimentLabel,RealTimeContactAnalysisSentimentLabel
-
-