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 AddAttachmentsToSetResult
clone()
boolean
equals(Object obj)
String
getAttachmentSetId()
The ID of the attachment set.String
getExpiryTime()
The time and date when the attachment set expires.int
hashCode()
void
setAttachmentSetId(String attachmentSetId)
The ID of the attachment set.void
setExpiryTime(String expiryTime)
The time and date when the attachment set expires.String
toString()
Returns a string representation of this object; useful for testing and debugging.AddAttachmentsToSetResult
withAttachmentSetId(String attachmentSetId)
The ID of the attachment set.AddAttachmentsToSetResult
withExpiryTime(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
AttachmentSetId
was not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetId
was specified, the attachments are added to the specified set, if it exists.- Parameters:
attachmentSetId
- The ID of the attachment set. If anAttachmentSetId
was not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetId
was specified, the attachments are added to the specified set, if it exists.
-
getAttachmentSetId
public 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 anAttachmentSetId
was specified, the attachments are added to the specified set, if it exists.- Returns:
- 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 anAttachmentSetId
was 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
AttachmentSetId
was not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetId
was specified, the attachments are added to the specified set, if it exists.- Parameters:
attachmentSetId
- The ID of the attachment set. If anAttachmentSetId
was not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetId
was 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddAttachmentsToSetResult clone()
-
-