Interface ListRealtimeContactAnalysisSegmentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectContactLensResponse.Builder,CopyableBuilder<ListRealtimeContactAnalysisSegmentsResponse.Builder,ListRealtimeContactAnalysisSegmentsResponse>,SdkBuilder<ListRealtimeContactAnalysisSegmentsResponse.Builder,ListRealtimeContactAnalysisSegmentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRealtimeContactAnalysisSegmentsResponse
public static interface ListRealtimeContactAnalysisSegmentsResponse.Builder extends ConnectContactLensResponse.Builder, SdkPojo, CopyableBuilder<ListRealtimeContactAnalysisSegmentsResponse.Builder,ListRealtimeContactAnalysisSegmentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRealtimeContactAnalysisSegmentsResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.ListRealtimeContactAnalysisSegmentsResponse.Buildersegments(Collection<RealtimeContactAnalysisSegment> segments)An analyzed transcript or category.ListRealtimeContactAnalysisSegmentsResponse.Buildersegments(Consumer<RealtimeContactAnalysisSegment.Builder>... segments)An analyzed transcript or category.ListRealtimeContactAnalysisSegmentsResponse.Buildersegments(RealtimeContactAnalysisSegment... segments)An analyzed transcript or category.-
Methods inherited from interface software.amazon.awssdk.services.connectcontactlens.model.ConnectContactLensResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
segments
ListRealtimeContactAnalysisSegmentsResponse.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
ListRealtimeContactAnalysisSegmentsResponse.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
ListRealtimeContactAnalysisSegmentsResponse.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 to#segments(List.) - 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:
#segments(java.util.Collection)
-
nextToken
ListRealtimeContactAnalysisSegmentsResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results. If response includes
nextTokenthere are two possible scenarios:-
There are more segments so another call is required to get them.
-
There are no more segments at this time, but more may be available later (real-time analysis is in progress) so the client should call the operation again to get new segments.
If response does not include
nextToken, the analysis is completed (successfully or failed) and there are no more segments to retrieve.- Parameters:
nextToken- If there are additional results, this is the token for the next set of results. If response includesnextTokenthere are two possible scenarios:-
There are more segments so another call is required to get them.
-
There are no more segments at this time, but more may be available later (real-time analysis is in progress) so the client should call the operation again to get new segments.
If response does not include
nextToken, the analysis is completed (successfully or failed) and there are no more segments to retrieve.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-