@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChatSyncResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ChatSyncResult() |
Modifier and Type | Method and Description |
---|---|
ChatSyncResult |
clone() |
boolean |
equals(Object obj) |
ActionReview |
getActionReview()
A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete
a requested plugin action.
|
AuthChallengeRequest |
getAuthChallengeRequest()
An authentication verification event activated by an end user request to use a custom plugin.
|
String |
getConversationId()
The identifier of the Amazon Q Business conversation.
|
List<AttachmentOutput> |
getFailedAttachments()
A list of files which failed to upload during chat.
|
List<SourceAttribution> |
getSourceAttributions()
The source documents used to generate the conversation response.
|
String |
getSystemMessage()
An AI-generated message in a conversation.
|
String |
getSystemMessageId()
The identifier of an Amazon Q Business AI generated message within the conversation.
|
String |
getUserMessageId()
The identifier of an Amazon Q Business end user text input message within the conversation.
|
int |
hashCode() |
void |
setActionReview(ActionReview actionReview)
A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete
a requested plugin action.
|
void |
setAuthChallengeRequest(AuthChallengeRequest authChallengeRequest)
An authentication verification event activated by an end user request to use a custom plugin.
|
void |
setConversationId(String conversationId)
The identifier of the Amazon Q Business conversation.
|
void |
setFailedAttachments(Collection<AttachmentOutput> failedAttachments)
A list of files which failed to upload during chat.
|
void |
setSourceAttributions(Collection<SourceAttribution> sourceAttributions)
The source documents used to generate the conversation response.
|
void |
setSystemMessage(String systemMessage)
An AI-generated message in a conversation.
|
void |
setSystemMessageId(String systemMessageId)
The identifier of an Amazon Q Business AI generated message within the conversation.
|
void |
setUserMessageId(String userMessageId)
The identifier of an Amazon Q Business end user text input message within the conversation.
|
String |
toString()
Returns a string representation of this object.
|
ChatSyncResult |
withActionReview(ActionReview actionReview)
A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete
a requested plugin action.
|
ChatSyncResult |
withAuthChallengeRequest(AuthChallengeRequest authChallengeRequest)
An authentication verification event activated by an end user request to use a custom plugin.
|
ChatSyncResult |
withConversationId(String conversationId)
The identifier of the Amazon Q Business conversation.
|
ChatSyncResult |
withFailedAttachments(AttachmentOutput... failedAttachments)
A list of files which failed to upload during chat.
|
ChatSyncResult |
withFailedAttachments(Collection<AttachmentOutput> failedAttachments)
A list of files which failed to upload during chat.
|
ChatSyncResult |
withSourceAttributions(Collection<SourceAttribution> sourceAttributions)
The source documents used to generate the conversation response.
|
ChatSyncResult |
withSourceAttributions(SourceAttribution... sourceAttributions)
The source documents used to generate the conversation response.
|
ChatSyncResult |
withSystemMessage(String systemMessage)
An AI-generated message in a conversation.
|
ChatSyncResult |
withSystemMessageId(String systemMessageId)
The identifier of an Amazon Q Business AI generated message within the conversation.
|
ChatSyncResult |
withUserMessageId(String userMessageId)
The identifier of an Amazon Q Business end user text input message within the conversation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConversationId(String conversationId)
The identifier of the Amazon Q Business conversation.
conversationId
- The identifier of the Amazon Q Business conversation.public String getConversationId()
The identifier of the Amazon Q Business conversation.
public ChatSyncResult withConversationId(String conversationId)
The identifier of the Amazon Q Business conversation.
conversationId
- The identifier of the Amazon Q Business conversation.public void setSystemMessage(String systemMessage)
An AI-generated message in a conversation.
systemMessage
- An AI-generated message in a conversation.public String getSystemMessage()
An AI-generated message in a conversation.
public ChatSyncResult withSystemMessage(String systemMessage)
An AI-generated message in a conversation.
systemMessage
- An AI-generated message in a conversation.public void setSystemMessageId(String systemMessageId)
The identifier of an Amazon Q Business AI generated message within the conversation.
systemMessageId
- The identifier of an Amazon Q Business AI generated message within the conversation.public String getSystemMessageId()
The identifier of an Amazon Q Business AI generated message within the conversation.
public ChatSyncResult withSystemMessageId(String systemMessageId)
The identifier of an Amazon Q Business AI generated message within the conversation.
systemMessageId
- The identifier of an Amazon Q Business AI generated message within the conversation.public void setUserMessageId(String userMessageId)
The identifier of an Amazon Q Business end user text input message within the conversation.
userMessageId
- The identifier of an Amazon Q Business end user text input message within the conversation.public String getUserMessageId()
The identifier of an Amazon Q Business end user text input message within the conversation.
public ChatSyncResult withUserMessageId(String userMessageId)
The identifier of an Amazon Q Business end user text input message within the conversation.
userMessageId
- The identifier of an Amazon Q Business end user text input message within the conversation.public void setActionReview(ActionReview actionReview)
A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action.
actionReview
- A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully
complete a requested plugin action.public ActionReview getActionReview()
A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action.
public ChatSyncResult withActionReview(ActionReview actionReview)
A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action.
actionReview
- A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully
complete a requested plugin action.public void setAuthChallengeRequest(AuthChallengeRequest authChallengeRequest)
An authentication verification event activated by an end user request to use a custom plugin.
authChallengeRequest
- An authentication verification event activated by an end user request to use a custom plugin.public AuthChallengeRequest getAuthChallengeRequest()
An authentication verification event activated by an end user request to use a custom plugin.
public ChatSyncResult withAuthChallengeRequest(AuthChallengeRequest authChallengeRequest)
An authentication verification event activated by an end user request to use a custom plugin.
authChallengeRequest
- An authentication verification event activated by an end user request to use a custom plugin.public List<SourceAttribution> getSourceAttributions()
The source documents used to generate the conversation response.
public void setSourceAttributions(Collection<SourceAttribution> sourceAttributions)
The source documents used to generate the conversation response.
sourceAttributions
- The source documents used to generate the conversation response.public ChatSyncResult withSourceAttributions(SourceAttribution... sourceAttributions)
The source documents used to generate the conversation response.
NOTE: This method appends the values to the existing list (if any). Use
setSourceAttributions(java.util.Collection)
or withSourceAttributions(java.util.Collection)
if
you want to override the existing values.
sourceAttributions
- The source documents used to generate the conversation response.public ChatSyncResult withSourceAttributions(Collection<SourceAttribution> sourceAttributions)
The source documents used to generate the conversation response.
sourceAttributions
- The source documents used to generate the conversation response.public List<AttachmentOutput> getFailedAttachments()
A list of files which failed to upload during chat.
public void setFailedAttachments(Collection<AttachmentOutput> failedAttachments)
A list of files which failed to upload during chat.
failedAttachments
- A list of files which failed to upload during chat.public ChatSyncResult withFailedAttachments(AttachmentOutput... failedAttachments)
A list of files which failed to upload during chat.
NOTE: This method appends the values to the existing list (if any). Use
setFailedAttachments(java.util.Collection)
or withFailedAttachments(java.util.Collection)
if
you want to override the existing values.
failedAttachments
- A list of files which failed to upload during chat.public ChatSyncResult withFailedAttachments(Collection<AttachmentOutput> failedAttachments)
A list of files which failed to upload during chat.
failedAttachments
- A list of files which failed to upload during chat.public String toString()
toString
in class Object
Object.toString()
public ChatSyncResult clone()