@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTranscriptResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetTranscriptResult() |
Modifier and Type | Method and Description |
---|---|
GetTranscriptResult |
clone() |
boolean |
equals(Object obj) |
String |
getInitialContactId()
The initial contact ID for the contact.
|
String |
getNextToken()
The pagination token.
|
List<Item> |
getTranscript()
The list of messages in the session.
|
int |
hashCode() |
void |
setInitialContactId(String initialContactId)
The initial contact ID for the contact.
|
void |
setNextToken(String nextToken)
The pagination token.
|
void |
setTranscript(Collection<Item> transcript)
The list of messages in the session.
|
String |
toString()
Returns a string representation of this object.
|
GetTranscriptResult |
withInitialContactId(String initialContactId)
The initial contact ID for the contact.
|
GetTranscriptResult |
withNextToken(String nextToken)
The pagination token.
|
GetTranscriptResult |
withTranscript(Collection<Item> transcript)
The list of messages in the session.
|
GetTranscriptResult |
withTranscript(Item... transcript)
The list of messages in the session.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setInitialContactId(String initialContactId)
The initial contact ID for the contact.
initialContactId
- The initial contact ID for the contact.public String getInitialContactId()
The initial contact ID for the contact.
public GetTranscriptResult withInitialContactId(String initialContactId)
The initial contact ID for the contact.
initialContactId
- The initial contact ID for the contact.public List<Item> getTranscript()
The list of messages in the session.
public void setTranscript(Collection<Item> transcript)
The list of messages in the session.
transcript
- The list of messages in the session.public GetTranscriptResult withTranscript(Item... transcript)
The list of messages in the session.
NOTE: This method appends the values to the existing list (if any). Use
setTranscript(java.util.Collection)
or withTranscript(java.util.Collection)
if you want to
override the existing values.
transcript
- The list of messages in the session.public GetTranscriptResult withTranscript(Collection<Item> transcript)
The list of messages in the session.
transcript
- The list of messages in the session.public void setNextToken(String nextToken)
The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
nextToken
- The pagination token. Use the value returned previously in the next subsequent request to retrieve the
next set of results.public String getNextToken()
The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
public GetTranscriptResult withNextToken(String nextToken)
The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
nextToken
- The pagination token. Use the value returned previously in the next subsequent request to retrieve the
next set of results.public String toString()
toString
in class Object
Object.toString()
public GetTranscriptResult clone()
Copyright © 2022. All rights reserved.