public class CompleteAttachmentUploadRequest extends AmazonWebServiceRequest implements java.io.Serializable
Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API.
| 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, 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.
Constraints:
Length: 1 - 500
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public void setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Constraints:
Length: 1 - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CompleteAttachmentUploadRequest withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
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.
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.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.