public class GetTranscriptRequest extends AmazonWebServiceRequest implements java.io.Serializable
Retrieves a transcript of the session, including details about any attachments. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
Constructor and Description |
---|
GetTranscriptRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConnectionToken()
The authentication token associated with the participant's connection.
|
java.lang.String |
getContactId()
The contactId from the current contact chain for which transcript is
needed.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return in the page.
|
java.lang.String |
getNextToken()
The pagination token.
|
java.lang.String |
getScanDirection()
The direction from StartPosition from which to retrieve message.
|
java.lang.String |
getSortOrder()
The sort order for the records.
|
StartPosition |
getStartPosition()
A filtering option for where to start.
|
int |
hashCode() |
void |
setConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
|
void |
setContactId(java.lang.String contactId)
The contactId from the current contact chain for which transcript is
needed.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in the page.
|
void |
setNextToken(java.lang.String nextToken)
The pagination token.
|
void |
setScanDirection(ScanDirection scanDirection)
The direction from StartPosition from which to retrieve message.
|
void |
setScanDirection(java.lang.String scanDirection)
The direction from StartPosition from which to retrieve message.
|
void |
setSortOrder(SortKey sortOrder)
The sort order for the records.
|
void |
setSortOrder(java.lang.String sortOrder)
The sort order for the records.
|
void |
setStartPosition(StartPosition startPosition)
A filtering option for where to start.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetTranscriptRequest |
withConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
|
GetTranscriptRequest |
withContactId(java.lang.String contactId)
The contactId from the current contact chain for which transcript is
needed.
|
GetTranscriptRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in the page.
|
GetTranscriptRequest |
withNextToken(java.lang.String nextToken)
The pagination token.
|
GetTranscriptRequest |
withScanDirection(ScanDirection scanDirection)
The direction from StartPosition from which to retrieve message.
|
GetTranscriptRequest |
withScanDirection(java.lang.String scanDirection)
The direction from StartPosition from which to retrieve message.
|
GetTranscriptRequest |
withSortOrder(SortKey sortOrder)
The sort order for the records.
|
GetTranscriptRequest |
withSortOrder(java.lang.String sortOrder)
The sort order for the records.
|
GetTranscriptRequest |
withStartPosition(StartPosition startPosition)
A filtering option for where to start.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getContactId()
The contactId from the current contact chain for which transcript is needed.
Constraints:
Length: 1 - 256
The contactId from the current contact chain for which transcript is needed.
public void setContactId(java.lang.String contactId)
The contactId from the current contact chain for which transcript is needed.
Constraints:
Length: 1 - 256
contactId
- The contactId from the current contact chain for which transcript is needed.
public GetTranscriptRequest withContactId(java.lang.String contactId)
The contactId from the current contact chain for which transcript is needed.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
contactId
- The contactId from the current contact chain for which transcript is needed.
public java.lang.Integer getMaxResults()
The maximum number of results to return in the page. Default: 10.
Constraints:
Range: 0 - 100
The maximum number of results to return in the page. Default: 10.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in the page. Default: 10.
Constraints:
Range: 0 - 100
maxResults
- The maximum number of results to return in the page. Default: 10.
public GetTranscriptRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in the page. Default: 10.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 100
maxResults
- The maximum number of results to return in the page. Default: 10.
public java.lang.String getNextToken()
The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
Constraints:
Length: 1 - 1000
The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
public void setNextToken(java.lang.String nextToken)
The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
Constraints:
Length: 1 - 1000
nextToken
- The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
public GetTranscriptRequest withNextToken(java.lang.String nextToken)
The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
nextToken
- The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
public java.lang.String getScanDirection()
The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
Constraints:
Allowed Values: FORWARD, BACKWARD
The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
ScanDirection
public void setScanDirection(java.lang.String scanDirection)
The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
Constraints:
Allowed Values: FORWARD, BACKWARD
scanDirection
- The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
ScanDirection
public GetTranscriptRequest withScanDirection(java.lang.String scanDirection)
The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: FORWARD, BACKWARD
scanDirection
- The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
ScanDirection
public void setScanDirection(ScanDirection scanDirection)
The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
Constraints:
Allowed Values: FORWARD, BACKWARD
scanDirection
- The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
ScanDirection
public GetTranscriptRequest withScanDirection(ScanDirection scanDirection)
The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: FORWARD, BACKWARD
scanDirection
- The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
ScanDirection
public java.lang.String getSortOrder()
The sort order for the records. Default: DESCENDING.
Constraints:
Allowed Values: DESCENDING, ASCENDING
The sort order for the records. Default: DESCENDING.
SortKey
public void setSortOrder(java.lang.String sortOrder)
The sort order for the records. Default: DESCENDING.
Constraints:
Allowed Values: DESCENDING, ASCENDING
sortOrder
- The sort order for the records. Default: DESCENDING.
SortKey
public GetTranscriptRequest withSortOrder(java.lang.String sortOrder)
The sort order for the records. Default: DESCENDING.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DESCENDING, ASCENDING
sortOrder
- The sort order for the records. Default: DESCENDING.
SortKey
public void setSortOrder(SortKey sortOrder)
The sort order for the records. Default: DESCENDING.
Constraints:
Allowed Values: DESCENDING, ASCENDING
sortOrder
- The sort order for the records. Default: DESCENDING.
SortKey
public GetTranscriptRequest withSortOrder(SortKey sortOrder)
The sort order for the records. Default: DESCENDING.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DESCENDING, ASCENDING
sortOrder
- The sort order for the records. Default: DESCENDING.
SortKey
public StartPosition getStartPosition()
A filtering option for where to start.
A filtering option for where to start.
public void setStartPosition(StartPosition startPosition)
A filtering option for where to start.
startPosition
- A filtering option for where to start.
public GetTranscriptRequest withStartPosition(StartPosition startPosition)
A filtering option for where to start.
Returns a reference to this object so that method calls can be chained together.
startPosition
- A filtering option for where to start.
public java.lang.String getConnectionToken()
The authentication token associated with the participant's connection.
Constraints:
Length: 1 - 1000
The authentication token associated with the participant's connection.
public void setConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
Constraints:
Length: 1 - 1000
connectionToken
- The authentication token associated with the participant's connection.
public GetTranscriptRequest withConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
connectionToken
- The authentication token associated with the participant's connection.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.