Interface ListRealtimeContactAnalysisSegmentsV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListRealtimeContactAnalysisSegmentsV2Response.Builder,,ListRealtimeContactAnalysisSegmentsV2Response> SdkBuilder<ListRealtimeContactAnalysisSegmentsV2Response.Builder,,ListRealtimeContactAnalysisSegmentsV2Response> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRealtimeContactAnalysisSegmentsV2Response
-
Method Summary
Modifier and TypeMethodDescriptionThe channel of the contact.The channel of the contact.If there are additional results, this is the token for the next set of results.segments(Collection<RealtimeContactAnalysisSegment> segments) An analyzed transcript or category.segments(Consumer<RealtimeContactAnalysisSegment.Builder>... segments) An analyzed transcript or category.segments(RealtimeContactAnalysisSegment... segments) An analyzed transcript or category.Status of real-time contact analysis.status(RealTimeContactAnalysisStatus status) Status of real-time contact analysis.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channel
The channel of the contact.
Only
CHATis supported. This API does not supportVOICE. If you attempt to use it for the VOICE channel, anInvalidRequestExceptionerror occurs.- Parameters:
channel- The channel of the contact.Only
CHATis supported. This API does not supportVOICE. If you attempt to use it for the VOICE channel, anInvalidRequestExceptionerror occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channel
ListRealtimeContactAnalysisSegmentsV2Response.Builder channel(RealTimeContactAnalysisSupportedChannel channel) The channel of the contact.
Only
CHATis supported. This API does not supportVOICE. If you attempt to use it for the VOICE channel, anInvalidRequestExceptionerror occurs.- Parameters:
channel- The channel of the contact.Only
CHATis supported. This API does not supportVOICE. If you attempt to use it for the VOICE channel, anInvalidRequestExceptionerror occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of real-time contact analysis.
- Parameters:
status- Status of real-time contact analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of real-time contact analysis.
- Parameters:
status- Status of real-time contact analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segments
ListRealtimeContactAnalysisSegmentsV2Response.Builder segments(Collection<RealtimeContactAnalysisSegment> segments) An analyzed transcript or category.
- Parameters:
segments- An analyzed transcript or category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segments
ListRealtimeContactAnalysisSegmentsV2Response.Builder segments(RealtimeContactAnalysisSegment... segments) An analyzed transcript or category.
- Parameters:
segments- An analyzed transcript or category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segments
ListRealtimeContactAnalysisSegmentsV2Response.Builder segments(Consumer<RealtimeContactAnalysisSegment.Builder>... segments) An analyzed transcript or category.
This is a convenience method that creates an instance of theRealtimeContactAnalysisSegment.Builderavoiding the need to create one manually viaRealtimeContactAnalysisSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosegments(List<RealtimeContactAnalysisSegment>).- Parameters:
segments- a consumer that will call methods onRealtimeContactAnalysisSegment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-