public class GetAttachmentRequest extends AmazonWebServiceRequest implements java.io.Serializable
Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts.
| Constructor and Description |
|---|
GetAttachmentRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttachmentId()
A unique identifier for the attachment.
|
java.lang.String |
getConnectionToken()
The authentication token associated with the participant's connection.
|
int |
hashCode() |
void |
setAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
|
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.
|
GetAttachmentRequest |
withAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
|
GetAttachmentRequest |
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.lang.String getAttachmentId()
A unique identifier for the attachment.
Constraints:
Length: 1 - 256
A unique identifier for the attachment.
public void setAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
Constraints:
Length: 1 - 256
attachmentId - A unique identifier for the attachment.
public GetAttachmentRequest withAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
attachmentId - A unique identifier for the attachment.
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 GetAttachmentRequest 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.