@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChatSyncRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ChatSyncRequest() |
Modifier and Type | Method and Description |
---|---|
ChatSyncRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
The identifier of the Amazon Q application linked to the Amazon Q conversation.
|
List<AttachmentInput> |
getAttachments()
A list of files uploaded directly during chat.
|
AttributeFilter |
getAttributeFilter()
Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.
|
String |
getClientToken()
A token that you provide to identify a chat request.
|
String |
getConversationId()
The identifier of the Amazon Q conversation.
|
String |
getParentMessageId()
The identifier of the previous end user text input message in a conversation.
|
List<String> |
getUserGroups()
The groups that a user associated with the chat input belongs to.
|
String |
getUserId()
The identifier of the user attached to the chat input.
|
String |
getUserMessage()
A end user message in a conversation.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The identifier of the Amazon Q application linked to the Amazon Q conversation.
|
void |
setAttachments(Collection<AttachmentInput> attachments)
A list of files uploaded directly during chat.
|
void |
setAttributeFilter(AttributeFilter attributeFilter)
Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.
|
void |
setClientToken(String clientToken)
A token that you provide to identify a chat request.
|
void |
setConversationId(String conversationId)
The identifier of the Amazon Q conversation.
|
void |
setParentMessageId(String parentMessageId)
The identifier of the previous end user text input message in a conversation.
|
void |
setUserGroups(Collection<String> userGroups)
The groups that a user associated with the chat input belongs to.
|
void |
setUserId(String userId)
The identifier of the user attached to the chat input.
|
void |
setUserMessage(String userMessage)
A end user message in a conversation.
|
String |
toString()
Returns a string representation of this object.
|
ChatSyncRequest |
withApplicationId(String applicationId)
The identifier of the Amazon Q application linked to the Amazon Q conversation.
|
ChatSyncRequest |
withAttachments(AttachmentInput... attachments)
A list of files uploaded directly during chat.
|
ChatSyncRequest |
withAttachments(Collection<AttachmentInput> attachments)
A list of files uploaded directly during chat.
|
ChatSyncRequest |
withAttributeFilter(AttributeFilter attributeFilter)
Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.
|
ChatSyncRequest |
withClientToken(String clientToken)
A token that you provide to identify a chat request.
|
ChatSyncRequest |
withConversationId(String conversationId)
The identifier of the Amazon Q conversation.
|
ChatSyncRequest |
withParentMessageId(String parentMessageId)
The identifier of the previous end user text input message in a conversation.
|
ChatSyncRequest |
withUserGroups(Collection<String> userGroups)
The groups that a user associated with the chat input belongs to.
|
ChatSyncRequest |
withUserGroups(String... userGroups)
The groups that a user associated with the chat input belongs to.
|
ChatSyncRequest |
withUserId(String userId)
The identifier of the user attached to the chat input.
|
ChatSyncRequest |
withUserMessage(String userMessage)
A end user message in a 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, withSdkRequestTimeout
public void setApplicationId(String applicationId)
The identifier of the Amazon Q application linked to the Amazon Q conversation.
applicationId
- The identifier of the Amazon Q application linked to the Amazon Q conversation.public String getApplicationId()
The identifier of the Amazon Q application linked to the Amazon Q conversation.
public ChatSyncRequest withApplicationId(String applicationId)
The identifier of the Amazon Q application linked to the Amazon Q conversation.
applicationId
- The identifier of the Amazon Q application linked to the Amazon Q conversation.public List<AttachmentInput> getAttachments()
A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.
public void setAttachments(Collection<AttachmentInput> attachments)
A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.
attachments
- A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.public ChatSyncRequest withAttachments(AttachmentInput... attachments)
A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.
NOTE: This method appends the values to the existing list (if any). Use
setAttachments(java.util.Collection)
or withAttachments(java.util.Collection)
if you want to
override the existing values.
attachments
- A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.public ChatSyncRequest withAttachments(Collection<AttachmentInput> attachments)
A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.
attachments
- A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.public void setAttributeFilter(AttributeFilter attributeFilter)
Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.
attributeFilter
- Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.public AttributeFilter getAttributeFilter()
Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.
public ChatSyncRequest withAttributeFilter(AttributeFilter attributeFilter)
Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.
attributeFilter
- Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.public void setClientToken(String clientToken)
A token that you provide to identify a chat request.
clientToken
- A token that you provide to identify a chat request.public String getClientToken()
A token that you provide to identify a chat request.
public ChatSyncRequest withClientToken(String clientToken)
A token that you provide to identify a chat request.
clientToken
- A token that you provide to identify a chat request.public void setConversationId(String conversationId)
The identifier of the Amazon Q conversation.
conversationId
- The identifier of the Amazon Q conversation.public String getConversationId()
The identifier of the Amazon Q conversation.
public ChatSyncRequest withConversationId(String conversationId)
The identifier of the Amazon Q conversation.
conversationId
- The identifier of the Amazon Q conversation.public void setParentMessageId(String parentMessageId)
The identifier of the previous end user text input message in a conversation.
parentMessageId
- The identifier of the previous end user text input message in a conversation.public String getParentMessageId()
The identifier of the previous end user text input message in a conversation.
public ChatSyncRequest withParentMessageId(String parentMessageId)
The identifier of the previous end user text input message in a conversation.
parentMessageId
- The identifier of the previous end user text input message in a conversation.public List<String> getUserGroups()
The groups that a user associated with the chat input belongs to.
public void setUserGroups(Collection<String> userGroups)
The groups that a user associated with the chat input belongs to.
userGroups
- The groups that a user associated with the chat input belongs to.public ChatSyncRequest withUserGroups(String... userGroups)
The groups that a user associated with the chat input belongs to.
NOTE: This method appends the values to the existing list (if any). Use
setUserGroups(java.util.Collection)
or withUserGroups(java.util.Collection)
if you want to
override the existing values.
userGroups
- The groups that a user associated with the chat input belongs to.public ChatSyncRequest withUserGroups(Collection<String> userGroups)
The groups that a user associated with the chat input belongs to.
userGroups
- The groups that a user associated with the chat input belongs to.public void setUserId(String userId)
The identifier of the user attached to the chat input.
userId
- The identifier of the user attached to the chat input.public String getUserId()
The identifier of the user attached to the chat input.
public ChatSyncRequest withUserId(String userId)
The identifier of the user attached to the chat input.
userId
- The identifier of the user attached to the chat input.public void setUserMessage(String userMessage)
A end user message in a conversation.
userMessage
- A end user message in a conversation.public String getUserMessage()
A end user message in a conversation.
public ChatSyncRequest withUserMessage(String userMessage)
A end user message in a conversation.
userMessage
- A end user message in a conversation.public String toString()
toString
in class Object
Object.toString()
public ChatSyncRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()