Class AddAttachmentsToSetResult
- java.lang.Object
-
- com.amazonaws.services.support.model.AddAttachmentsToSetResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class AddAttachmentsToSetResult extends Object implements Serializable, Cloneable
The ID and expiry time of the attachment set returned by the AddAttachmentsToSet operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddAttachmentsToSetResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddAttachmentsToSetResultclone()booleanequals(Object obj)StringgetAttachmentSetId()The ID of the attachment set.StringgetExpiryTime()The time and date when the attachment set expires.inthashCode()voidsetAttachmentSetId(String attachmentSetId)The ID of the attachment set.voidsetExpiryTime(String expiryTime)The time and date when the attachment set expires.StringtoString()Returns a string representation of this object; useful for testing and debugging.AddAttachmentsToSetResultwithAttachmentSetId(String attachmentSetId)The ID of the attachment set.AddAttachmentsToSetResultwithExpiryTime(String expiryTime)The time and date when the attachment set expires.
-
-
-
Method Detail
-
setAttachmentSetId
public void setAttachmentSetId(String attachmentSetId)
The ID of the attachment set. If an
AttachmentSetIdwas not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdwas specified, the attachments are added to the specified set, if it exists.- Parameters:
attachmentSetId- The ID of the attachment set. If anAttachmentSetIdwas not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdwas specified, the attachments are added to the specified set, if it exists.
-
getAttachmentSetId
public String getAttachmentSetId()
The ID of the attachment set. If an
AttachmentSetIdwas not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdwas specified, the attachments are added to the specified set, if it exists.- Returns:
- The ID of the attachment set. If an
AttachmentSetIdwas not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdwas specified, the attachments are added to the specified set, if it exists.
-
withAttachmentSetId
public AddAttachmentsToSetResult withAttachmentSetId(String attachmentSetId)
The ID of the attachment set. If an
AttachmentSetIdwas not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdwas specified, the attachments are added to the specified set, if it exists.- Parameters:
attachmentSetId- The ID of the attachment set. If anAttachmentSetIdwas not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdwas specified, the attachments are added to the specified set, if it exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExpiryTime
public void setExpiryTime(String expiryTime)
The time and date when the attachment set expires.
- Parameters:
expiryTime- The time and date when the attachment set expires.
-
getExpiryTime
public String getExpiryTime()
The time and date when the attachment set expires.
- Returns:
- The time and date when the attachment set expires.
-
withExpiryTime
public AddAttachmentsToSetResult withExpiryTime(String expiryTime)
The time and date when the attachment set expires.
- Parameters:
expiryTime- The time and date when the attachment set expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddAttachmentsToSetResult clone()
-
-