public class StartAttachmentUploadResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
StartAttachmentUploadResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttachmentId()
A unique identifier for the attachment.
|
UploadMetadata |
getUploadMetadata()
Fields to be used while uploading the attachment.
|
int |
hashCode() |
void |
setAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
|
void |
setUploadMetadata(UploadMetadata uploadMetadata)
Fields to be used while uploading the attachment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartAttachmentUploadResult |
withAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
|
StartAttachmentUploadResult |
withUploadMetadata(UploadMetadata uploadMetadata)
Fields to be used while uploading the attachment.
|
public 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 StartAttachmentUploadResult 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 UploadMetadata getUploadMetadata()
Fields to be used while uploading the attachment.
Fields to be used while uploading the attachment.
public void setUploadMetadata(UploadMetadata uploadMetadata)
Fields to be used while uploading the attachment.
uploadMetadata - Fields to be used while uploading the attachment.
public StartAttachmentUploadResult withUploadMetadata(UploadMetadata uploadMetadata)
Fields to be used while uploading the attachment.
Returns a reference to this object so that method calls can be chained together.
uploadMetadata - Fields to be used while uploading the attachment.
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.