Interface GetTranscriptRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectParticipantRequest.Builder,CopyableBuilder<GetTranscriptRequest.Builder,GetTranscriptRequest>,SdkBuilder<GetTranscriptRequest.Builder,GetTranscriptRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetTranscriptRequest
public static interface GetTranscriptRequest.Builder extends ConnectParticipantRequest.Builder, SdkPojo, CopyableBuilder<GetTranscriptRequest.Builder,GetTranscriptRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetTranscriptRequest.BuilderconnectionToken(String connectionToken)The authentication token associated with the participant's connection.GetTranscriptRequest.BuildercontactId(String contactId)The contactId from the current contact chain for which transcript is needed.GetTranscriptRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the page.GetTranscriptRequest.BuildernextToken(String nextToken)The pagination token.GetTranscriptRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetTranscriptRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetTranscriptRequest.BuilderscanDirection(String scanDirection)The direction from StartPosition from which to retrieve message.GetTranscriptRequest.BuilderscanDirection(ScanDirection scanDirection)The direction from StartPosition from which to retrieve message.GetTranscriptRequest.BuildersortOrder(String sortOrder)The sort order for the records.GetTranscriptRequest.BuildersortOrder(SortKey sortOrder)The sort order for the records.default GetTranscriptRequest.BuilderstartPosition(Consumer<StartPosition.Builder> startPosition)A filtering option for where to start.GetTranscriptRequest.BuilderstartPosition(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 Detail
-
contactId
GetTranscriptRequest.Builder contactId(String 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
GetTranscriptRequest.Builder maxResults(Integer 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
GetTranscriptRequest.Builder nextToken(String 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
GetTranscriptRequest.Builder scanDirection(String 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,ScanDirection
-
scanDirection
GetTranscriptRequest.Builder scanDirection(ScanDirection 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,ScanDirection
-
sortOrder
GetTranscriptRequest.Builder sortOrder(String sortOrder)
The sort order for the records. Default: DESCENDING.
-
sortOrder
GetTranscriptRequest.Builder sortOrder(SortKey sortOrder)
The sort order for the records. Default: DESCENDING.
-
startPosition
GetTranscriptRequest.Builder startPosition(StartPosition 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
default GetTranscriptRequest.Builder startPosition(Consumer<StartPosition.Builder> startPosition)
A filtering option for where to start.
This is a convenience method that creates an instance of theStartPosition.Builderavoiding the need to create one manually viaStartPosition.builder().When the
Consumercompletes,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:
startPosition(StartPosition)
-
connectionToken
GetTranscriptRequest.Builder connectionToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetTranscriptRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-