Interface GetTranscriptResponse.Builder

    • Method Detail

      • initialContactId

        GetTranscriptResponse.Builder initialContactId​(String initialContactId)

        The initial contact ID for the contact.

        Parameters:
        initialContactId - The initial contact ID for the contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transcript

        GetTranscriptResponse.Builder transcript​(Collection<Item> transcript)

        The list of messages in the session.

        Parameters:
        transcript - The list of messages in the session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transcript

        GetTranscriptResponse.Builder transcript​(Item... transcript)

        The list of messages in the session.

        Parameters:
        transcript - The list of messages in the session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transcript

        GetTranscriptResponse.Builder transcript​(Consumer<Item.Builder>... transcript)

        The list of messages in the session.

        This is a convenience method that creates an instance of the Item.Builder avoiding the need to create one manually via Item.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #transcript(List).

        Parameters:
        transcript - a consumer that will call methods on Item.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #transcript(java.util.Collection)
      • nextToken

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