Interface GetTranscriptResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, ConnectParticipantResponse.Builder, CopyableBuilder<GetTranscriptResponse.Builder,GetTranscriptResponse>, SdkBuilder<GetTranscriptResponse.Builder,GetTranscriptResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetTranscriptResponse

  • Method Details

    • 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

      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

      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<Item>).

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