public static interface ListRealtimeContactAnalysisSegmentsResponse.Builder extends ConnectContactLensResponse.Builder, SdkPojo, CopyableBuilder<ListRealtimeContactAnalysisSegmentsResponse.Builder,ListRealtimeContactAnalysisSegmentsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListRealtimeContactAnalysisSegmentsResponse.Builder |
nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListRealtimeContactAnalysisSegmentsResponse.Builder |
segments(Collection<RealtimeContactAnalysisSegment> segments)
An analyzed transcript or category.
|
ListRealtimeContactAnalysisSegmentsResponse.Builder |
segments(Consumer<RealtimeContactAnalysisSegment.Builder>... segments)
An analyzed transcript or category.
|
ListRealtimeContactAnalysisSegmentsResponse.Builder |
segments(RealtimeContactAnalysisSegment... segments)
An analyzed transcript or category.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListRealtimeContactAnalysisSegmentsResponse.Builder segments(Collection<RealtimeContactAnalysisSegment> segments)
An analyzed transcript or category.
segments - An analyzed transcript or category.ListRealtimeContactAnalysisSegmentsResponse.Builder segments(RealtimeContactAnalysisSegment... segments)
An analyzed transcript or category.
segments - An analyzed transcript or category.ListRealtimeContactAnalysisSegmentsResponse.Builder segments(Consumer<RealtimeContactAnalysisSegment.Builder>... segments)
An analyzed transcript or category.
This is a convenience method that creates an instance of theRealtimeContactAnalysisSegment.Builder
avoiding the need to create one manually via
RealtimeContactAnalysisSegment.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #segments(List.
segments - a consumer that will call methods on
RealtimeContactAnalysisSegment.Builder#segments(java.util.Collection) ListRealtimeContactAnalysisSegmentsResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results. If response includes
nextToken there 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.
nextToken - If there are additional results, this is the token for the next set of results. If response includes
nextToken there 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.
Copyright © 2022. All rights reserved.