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:
  • Constructor Details

    • AddAttachmentsToSetResult

      public AddAttachmentsToSetResult()
  • Method Details

    • 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 an AttachmentSetId was specified, the attachments are added to the specified set, if it exists.

      Parameters:
      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.
    • 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 an AttachmentSetId 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 an AttachmentSetId 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 an AttachmentSetId was specified, the attachments are added to the specified set, if it exists.

      Parameters:
      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.
      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public AddAttachmentsToSetResult clone()
      Overrides:
      clone in class Object