Interface GetTranscriptRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectParticipantRequest.Builder
,CopyableBuilder<GetTranscriptRequest.Builder,
,GetTranscriptRequest> SdkBuilder<GetTranscriptRequest.Builder,
,GetTranscriptRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetTranscriptRequest
-
Method Summary
Modifier and TypeMethodDescriptionconnectionToken
(String connectionToken) The authentication token associated with the participant's connection.The contactId from the current contact chain for which transcript is needed.maxResults
(Integer maxResults) The maximum number of results to return in the page.The pagination token.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scanDirection
(String scanDirection) The direction from StartPosition from which to retrieve message.scanDirection
(ScanDirection scanDirection) The direction from StartPosition from which to retrieve message.The sort order for the records.The sort order for the records.default GetTranscriptRequest.Builder
startPosition
(Consumer<StartPosition.Builder> startPosition) A filtering option for where to start.startPosition
(StartPosition startPosition) A filtering option for where to start.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connectparticipant.model.ConnectParticipantRequest.Builder
build
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
-
contactId
The contactId from the current contact chain for which transcript is needed.
- Parameters:
contactId
- The contactId from the current contact chain for which transcript is needed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in the page. Default: 10.
- Parameters:
maxResults
- The maximum number of results to return in the page. Default: 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
- Parameters:
nextToken
- The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanDirection
The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
- Parameters:
scanDirection
- The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanDirection
The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
- Parameters:
scanDirection
- The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for the records. Default: DESCENDING.
- Parameters:
sortOrder
- The sort order for the records. Default: DESCENDING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for the records. Default: DESCENDING.
- Parameters:
sortOrder
- The sort order for the records. Default: DESCENDING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startPosition
A filtering option for where to start.
- Parameters:
startPosition
- A filtering option for where to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startPosition
A filtering option for where to start.
This is a convenience method that creates an instance of theStartPosition.Builder
avoiding the need to create one manually viaStartPosition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartPosition(StartPosition)
.- Parameters:
startPosition
- a consumer that will call methods onStartPosition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionToken
The authentication token associated with the participant's connection.
- Parameters:
connectionToken
- The authentication token associated with the participant's connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetTranscriptRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetTranscriptRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-