public class AddAttachmentsToSetResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The ID and expiry time of the attachment set returned by the AddAttachmentsToSet operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
attachmentSetId
The ID of the attachment set.
|
private java.lang.String |
expiryTime
The time and date when the attachment set expires.
|
Constructor and Description |
---|
AddAttachmentsToSetResult() |
Modifier and Type | Method and Description |
---|---|
AddAttachmentsToSetResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttachmentSetId()
The ID of the attachment set.
|
java.lang.String |
getExpiryTime()
The time and date when the attachment set expires.
|
int |
hashCode() |
void |
setAttachmentSetId(java.lang.String attachmentSetId)
The ID of the attachment set.
|
void |
setExpiryTime(java.lang.String expiryTime)
The time and date when the attachment set expires.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddAttachmentsToSetResult |
withAttachmentSetId(java.lang.String attachmentSetId)
The ID of the attachment set.
|
AddAttachmentsToSetResult |
withExpiryTime(java.lang.String expiryTime)
The time and date when the attachment set expires.
|
private java.lang.String attachmentSetId
The ID of the attachment set. If an AttachmentSetId
was not
specified, a new attachment set is created, and the ID of the set is
returned in the response. If an AttachmentSetId
was
specified, the attachments are added to the specified set, if it exists.
private java.lang.String expiryTime
The time and date when the attachment set expires.
public void setAttachmentSetId(java.lang.String attachmentSetId)
The ID of the attachment set. If an AttachmentSetId
was not
specified, a new attachment set is created, and the ID of the set is
returned in the response. If an AttachmentSetId
was
specified, the attachments are added to the specified set, if it exists.
attachmentSetId
- The ID of the attachment set. If an AttachmentSetId
was not specified, a new attachment set is created, and the ID of
the set is returned in the response. If an
AttachmentSetId
was specified, the attachments are
added to the specified set, if it exists.public java.lang.String getAttachmentSetId()
The ID of the attachment set. If an AttachmentSetId
was not
specified, a new attachment set is created, and the ID of the set is
returned in the response. If an AttachmentSetId
was
specified, the attachments are added to the specified set, if it exists.
AttachmentSetId
was not specified, a new attachment set is created, and the ID of
the set is returned in the response. If an
AttachmentSetId
was specified, the attachments are
added to the specified set, if it exists.public AddAttachmentsToSetResult withAttachmentSetId(java.lang.String attachmentSetId)
The ID of the attachment set. If an AttachmentSetId
was not
specified, a new attachment set is created, and the ID of the set is
returned in the response. If an AttachmentSetId
was
specified, the attachments are added to the specified set, if it exists.
attachmentSetId
- The ID of the attachment set. If an AttachmentSetId
was not specified, a new attachment set is created, and the ID of
the set is returned in the response. If an
AttachmentSetId
was specified, the attachments are
added to the specified set, if it exists.public void setExpiryTime(java.lang.String expiryTime)
The time and date when the attachment set expires.
expiryTime
- The time and date when the attachment set expires.public java.lang.String getExpiryTime()
The time and date when the attachment set expires.
public AddAttachmentsToSetResult withExpiryTime(java.lang.String expiryTime)
The time and date when the attachment set expires.
expiryTime
- The time and date when the attachment set expires.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddAttachmentsToSetResult clone()
clone
in class java.lang.Object