Class AddAttachmentsToSetRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanOne or more attachments to add to the set.The ID of the attachment set.inthashCode()voidsetAttachments(Collection<Attachment> attachments) One or more attachments to add to the set.voidsetAttachmentSetId(String attachmentSetId) The ID of the attachment set.toString()Returns a string representation of this object; useful for testing and debugging.withAttachments(Attachment... attachments) One or more attachments to add to the set.withAttachments(Collection<Attachment> attachments) One or more attachments to add to the set.withAttachmentSetId(String attachmentSetId) The ID of the attachment set.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
AddAttachmentsToSetRequest
public AddAttachmentsToSetRequest()
-
-
Method Details
-
setAttachmentSetId
The ID of the attachment set. If an
AttachmentSetIdis not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdis specified, the attachments are added to the specified set, if it exists.- Parameters:
attachmentSetId- The ID of the attachment set. If anAttachmentSetIdis not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdis specified, the attachments are added to the specified set, if it exists.
-
getAttachmentSetId
The ID of the attachment set. If an
AttachmentSetIdis not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdis specified, the attachments are added to the specified set, if it exists.- Returns:
- The ID of the attachment set. If an
AttachmentSetIdis not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdis specified, the attachments are added to the specified set, if it exists.
-
withAttachmentSetId
The ID of the attachment set. If an
AttachmentSetIdis not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdis specified, the attachments are added to the specified set, if it exists.- Parameters:
attachmentSetId- The ID of the attachment set. If anAttachmentSetIdis not specified, a new attachment set is created, and the ID of the set is returned in the response. If anAttachmentSetIdis 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.
-
getAttachments
One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.
- Returns:
- One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.
-
setAttachments
One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.
- Parameters:
attachments- One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.
-
withAttachments
One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.
NOTE: This method appends the values to the existing list (if any). Use
setAttachments(java.util.Collection)orwithAttachments(java.util.Collection)if you want to override the existing values.- Parameters:
attachments- One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttachments
One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.
- Parameters:
attachments- One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-