@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMessagesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListMessagesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListMessagesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
The identifier for the Amazon Q Business application.
|
String |
getConversationId()
The identifier of the Amazon Q Business web experience conversation.
|
Integer |
getMaxResults()
The maximum number of messages to return.
|
String |
getNextToken()
If the number of retrievers returned exceeds
maxResults, Amazon Q Business returns a next token as a
pagination token to retrieve the next set of messages. |
String |
getUserId()
The identifier of the user involved in the Amazon Q Business web experience conversation.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The identifier for the Amazon Q Business application.
|
void |
setConversationId(String conversationId)
The identifier of the Amazon Q Business web experience conversation.
|
void |
setMaxResults(Integer maxResults)
The maximum number of messages to return.
|
void |
setNextToken(String nextToken)
If the number of retrievers returned exceeds
maxResults, Amazon Q Business returns a next token as a
pagination token to retrieve the next set of messages. |
void |
setUserId(String userId)
The identifier of the user involved in the Amazon Q Business web experience conversation.
|
String |
toString()
Returns a string representation of this object.
|
ListMessagesRequest |
withApplicationId(String applicationId)
The identifier for the Amazon Q Business application.
|
ListMessagesRequest |
withConversationId(String conversationId)
The identifier of the Amazon Q Business web experience conversation.
|
ListMessagesRequest |
withMaxResults(Integer maxResults)
The maximum number of messages to return.
|
ListMessagesRequest |
withNextToken(String nextToken)
If the number of retrievers returned exceeds
maxResults, Amazon Q Business returns a next token as a
pagination token to retrieve the next set of messages. |
ListMessagesRequest |
withUserId(String userId)
The identifier of the user involved in the Amazon Q Business web experience conversation.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setConversationId(String conversationId)
The identifier of the Amazon Q Business web experience conversation.
conversationId - The identifier of the Amazon Q Business web experience conversation.public String getConversationId()
The identifier of the Amazon Q Business web experience conversation.
public ListMessagesRequest withConversationId(String conversationId)
The identifier of the Amazon Q Business web experience conversation.
conversationId - The identifier of the Amazon Q Business web experience conversation.public void setApplicationId(String applicationId)
The identifier for the Amazon Q Business application.
applicationId - The identifier for the Amazon Q Business application.public String getApplicationId()
The identifier for the Amazon Q Business application.
public ListMessagesRequest withApplicationId(String applicationId)
The identifier for the Amazon Q Business application.
applicationId - The identifier for the Amazon Q Business application.public void setUserId(String userId)
The identifier of the user involved in the Amazon Q Business web experience conversation.
userId - The identifier of the user involved in the Amazon Q Business web experience conversation.public String getUserId()
The identifier of the user involved in the Amazon Q Business web experience conversation.
public ListMessagesRequest withUserId(String userId)
The identifier of the user involved in the Amazon Q Business web experience conversation.
userId - The identifier of the user involved in the Amazon Q Business web experience conversation.public void setNextToken(String nextToken)
If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next token as a
pagination token to retrieve the next set of messages.
nextToken - If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next
token as a pagination token to retrieve the next set of messages.public String getNextToken()
If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next token as a
pagination token to retrieve the next set of messages.
maxResults, Amazon Q Business returns a next
token as a pagination token to retrieve the next set of messages.public ListMessagesRequest withNextToken(String nextToken)
If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next token as a
pagination token to retrieve the next set of messages.
nextToken - If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next
token as a pagination token to retrieve the next set of messages.public void setMaxResults(Integer maxResults)
The maximum number of messages to return.
maxResults - The maximum number of messages to return.public Integer getMaxResults()
The maximum number of messages to return.
public ListMessagesRequest withMaxResults(Integer maxResults)
The maximum number of messages to return.
maxResults - The maximum number of messages to return.public String toString()
toString in class ObjectObject.toString()public ListMessagesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()