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 Details

    • 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

      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:
    • sortOrder

      GetTranscriptRequest.Builder sortOrder(String 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

      GetTranscriptRequest.Builder sortOrder(SortKey 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

      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 the StartPosition.Builder avoiding the need to create one manually via StartPosition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to startPosition(StartPosition).

      Parameters:
      startPosition - a consumer that will call methods on StartPosition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.