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
Modifier and TypeMethodDescriptioninitialContactId(String initialContactId) The initial contact ID for the contact.The pagination token.transcript(Collection<Item> transcript) The list of messages in the session.transcript(Consumer<Item.Builder>... transcript) The list of messages in the session.transcript(Item... transcript) The list of messages in the session.Methods inherited from interface software.amazon.awssdk.services.connectparticipant.model.ConnectParticipantResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 theItem.Builderavoiding the need to create one manually viaItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totranscript(List<Item>).- 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:
-
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.
-