Interface RealtimeContactAnalysisSegment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RealtimeContactAnalysisSegment.Builder,,RealtimeContactAnalysisSegment> SdkBuilder<RealtimeContactAnalysisSegment.Builder,,RealtimeContactAnalysisSegment> SdkPojo
- Enclosing class:
RealtimeContactAnalysisSegment
-
Method Summary
Modifier and TypeMethodDescriptionThe analyzed attachments.attachments(RealTimeContactAnalysisSegmentAttachments attachments) The analyzed attachments.Sets the value of the Categories property for this object.categories(RealTimeContactAnalysisSegmentCategories categories) Sets the value of the Categories property for this object.Sets the value of the Event property for this object.Sets the value of the Event property for this object.extractedInformation(Consumer<RealTimeContactAnalysisSegmentExtractedInformation.Builder> extractedInformation) The extracted information from the conversation.extractedInformation(RealTimeContactAnalysisSegmentExtractedInformation extractedInformation) The extracted information from the conversation.Sets the value of the Issues property for this object.Sets the value of the Issues property for this object.postContactSummary(Consumer<RealTimeContactAnalysisSegmentPostContactSummary.Builder> postContactSummary) Information about the post-contact summary.postContactSummary(RealTimeContactAnalysisSegmentPostContactSummary postContactSummary) Information about the post-contact summary.Sets the value of the Transcript property for this object.transcript(RealTimeContactAnalysisSegmentTranscript transcript) Sets the value of the Transcript property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
transcript
RealtimeContactAnalysisSegment.Builder transcript(RealTimeContactAnalysisSegmentTranscript transcript) Sets the value of the Transcript property for this object.- Parameters:
transcript- The new value for the Transcript property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transcript
default RealtimeContactAnalysisSegment.Builder transcript(Consumer<RealTimeContactAnalysisSegmentTranscript.Builder> transcript) Sets the value of the Transcript property for this object. This is a convenience method that creates an instance of theRealTimeContactAnalysisSegmentTranscript.Builderavoiding the need to create one manually viaRealTimeContactAnalysisSegmentTranscript.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totranscript(RealTimeContactAnalysisSegmentTranscript).- Parameters:
transcript- a consumer that will call methods onRealTimeContactAnalysisSegmentTranscript.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
categories
RealtimeContactAnalysisSegment.Builder categories(RealTimeContactAnalysisSegmentCategories categories) Sets the value of the Categories property for this object.- Parameters:
categories- The new value for the Categories property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
default RealtimeContactAnalysisSegment.Builder categories(Consumer<RealTimeContactAnalysisSegmentCategories.Builder> categories) Sets the value of the Categories property for this object. This is a convenience method that creates an instance of theRealTimeContactAnalysisSegmentCategories.Builderavoiding the need to create one manually viaRealTimeContactAnalysisSegmentCategories.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocategories(RealTimeContactAnalysisSegmentCategories).- Parameters:
categories- a consumer that will call methods onRealTimeContactAnalysisSegmentCategories.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
issues
Sets the value of the Issues property for this object.- Parameters:
issues- The new value for the Issues property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issues
default RealtimeContactAnalysisSegment.Builder issues(Consumer<RealTimeContactAnalysisSegmentIssues.Builder> issues) Sets the value of the Issues property for this object. This is a convenience method that creates an instance of theRealTimeContactAnalysisSegmentIssues.Builderavoiding the need to create one manually viaRealTimeContactAnalysisSegmentIssues.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toissues(RealTimeContactAnalysisSegmentIssues).- Parameters:
issues- a consumer that will call methods onRealTimeContactAnalysisSegmentIssues.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
event
Sets the value of the Event property for this object.- Parameters:
event- The new value for the Event property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
default RealtimeContactAnalysisSegment.Builder event(Consumer<RealTimeContactAnalysisSegmentEvent.Builder> event) Sets the value of the Event property for this object. This is a convenience method that creates an instance of theRealTimeContactAnalysisSegmentEvent.Builderavoiding the need to create one manually viaRealTimeContactAnalysisSegmentEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevent(RealTimeContactAnalysisSegmentEvent).- Parameters:
event- a consumer that will call methods onRealTimeContactAnalysisSegmentEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attachments
RealtimeContactAnalysisSegment.Builder attachments(RealTimeContactAnalysisSegmentAttachments attachments) The analyzed attachments.
- Parameters:
attachments- The analyzed attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
default RealtimeContactAnalysisSegment.Builder attachments(Consumer<RealTimeContactAnalysisSegmentAttachments.Builder> attachments) The analyzed attachments.
This is a convenience method that creates an instance of theRealTimeContactAnalysisSegmentAttachments.Builderavoiding the need to create one manually viaRealTimeContactAnalysisSegmentAttachments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachments(RealTimeContactAnalysisSegmentAttachments).- Parameters:
attachments- a consumer that will call methods onRealTimeContactAnalysisSegmentAttachments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
postContactSummary
RealtimeContactAnalysisSegment.Builder postContactSummary(RealTimeContactAnalysisSegmentPostContactSummary postContactSummary) Information about the post-contact summary.
- Parameters:
postContactSummary- Information about the post-contact summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postContactSummary
default RealtimeContactAnalysisSegment.Builder postContactSummary(Consumer<RealTimeContactAnalysisSegmentPostContactSummary.Builder> postContactSummary) Information about the post-contact summary.
This is a convenience method that creates an instance of theRealTimeContactAnalysisSegmentPostContactSummary.Builderavoiding the need to create one manually viaRealTimeContactAnalysisSegmentPostContactSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostContactSummary(RealTimeContactAnalysisSegmentPostContactSummary).- Parameters:
postContactSummary- a consumer that will call methods onRealTimeContactAnalysisSegmentPostContactSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
extractedInformation
RealtimeContactAnalysisSegment.Builder extractedInformation(RealTimeContactAnalysisSegmentExtractedInformation extractedInformation) The extracted information from the conversation.
- Parameters:
extractedInformation- The extracted information from the conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractedInformation
default RealtimeContactAnalysisSegment.Builder extractedInformation(Consumer<RealTimeContactAnalysisSegmentExtractedInformation.Builder> extractedInformation) The extracted information from the conversation.
This is a convenience method that creates an instance of theRealTimeContactAnalysisSegmentExtractedInformation.Builderavoiding the need to create one manually viaRealTimeContactAnalysisSegmentExtractedInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toextractedInformation(RealTimeContactAnalysisSegmentExtractedInformation).- Parameters:
extractedInformation- a consumer that will call methods onRealTimeContactAnalysisSegmentExtractedInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-