Interface GetTranscriptResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectParticipantResponse.Builder,CopyableBuilder<GetTranscriptResponse.Builder,GetTranscriptResponse>,SdkBuilder<GetTranscriptResponse.Builder,GetTranscriptResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTranscriptResponse
public static interface GetTranscriptResponse.Builder extends ConnectParticipantResponse.Builder, SdkPojo, CopyableBuilder<GetTranscriptResponse.Builder,GetTranscriptResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetTranscriptResponse.BuilderinitialContactId(String initialContactId)The initial contact ID for the contact.GetTranscriptResponse.BuildernextToken(String nextToken)The pagination token.GetTranscriptResponse.Buildertranscript(Collection<Item> transcript)The list of messages in the session.GetTranscriptResponse.Buildertranscript(Consumer<Item.Builder>... transcript)The list of messages in the session.GetTranscriptResponse.Buildertranscript(Item... transcript)The list of messages in the session.-
Methods inherited from interface software.amazon.awssdk.services.connectparticipant.model.ConnectParticipantResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
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 theItem.Builderavoiding the need to create one manually viaItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#transcript(List.- )
- Parameters:
transcript- a consumer that will call methods onItem.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.
-
-