Interface GetTranscriptRequest.Builder

    • 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.

        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:
        SortKey, SortKey
      • 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:
        SortKey, SortKey
      • 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.
      • 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.