public class CompleteAttachmentUploadRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API.
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 |
|---|
CompleteAttachmentUploadRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAttachmentIds()
A list of unique identifiers for the attachments.
|
java.lang.String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
java.lang.String |
getConnectionToken()
The authentication token associated with the participant's connection.
|
int |
hashCode() |
void |
setAttachmentIds(java.util.Collection<java.lang.String> attachmentIds)
A list of unique identifiers for the attachments.
|
void |
setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
void |
setConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CompleteAttachmentUploadRequest |
withAttachmentIds(java.util.Collection<java.lang.String> attachmentIds)
A list of unique identifiers for the attachments.
|
CompleteAttachmentUploadRequest |
withAttachmentIds(java.lang.String... attachmentIds)
A list of unique identifiers for the attachments.
|
CompleteAttachmentUploadRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
CompleteAttachmentUploadRequest |
withConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.util.List<java.lang.String> getAttachmentIds()
A list of unique identifiers for the attachments.
A list of unique identifiers for the attachments.
public void setAttachmentIds(java.util.Collection<java.lang.String> attachmentIds)
A list of unique identifiers for the attachments.
attachmentIds - A list of unique identifiers for the attachments.
public CompleteAttachmentUploadRequest withAttachmentIds(java.lang.String... attachmentIds)
A list of unique identifiers for the attachments.
Returns a reference to this object so that method calls can be chained together.
attachmentIds - A list of unique identifiers for the attachments.
public CompleteAttachmentUploadRequest withAttachmentIds(java.util.Collection<java.lang.String> attachmentIds)
A list of unique identifiers for the attachments.
Returns a reference to this object so that method calls can be chained together.
attachmentIds - A list of unique identifiers for the attachments.
public java.lang.String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: 1 - 500
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public void setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: 1 - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public CompleteAttachmentUploadRequest withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
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 CompleteAttachmentUploadRequest 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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object