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.Sets the value of the Issues property for this object.Sets the value of the Issues property for this object.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
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
-
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.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisSegmentTranscript.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisSegmentCategories.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisSegmentIssues.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisSegmentEvent.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaRealTimeContactAnalysisSegmentAttachments.builder()
.When the
Consumer
completes,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:
-