CopyableBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>
, SdkBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>
public static interface AddAttachmentsToSetRequest.Builder extends CopyableBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>
Modifier and Type | Method | Description |
---|---|---|
AddAttachmentsToSetRequest.Builder |
attachments(Collection<Attachment> attachments) |
One or more attachments to add to the set.
|
AddAttachmentsToSetRequest.Builder |
attachments(Attachment... attachments) |
One or more attachments to add to the set.
|
AddAttachmentsToSetRequest.Builder |
attachmentSetId(String attachmentSetId) |
The ID of the attachment set.
|
copy
apply, build
AddAttachmentsToSetRequest.Builder attachmentSetId(String attachmentSetId)
The ID of the attachment set. If an attachmentSetId
is not specified, a new attachment set is
created, and the ID of the set is returned in the response. If an attachmentSetId
is specified,
the attachments are added to the specified set, if it exists.
attachmentSetId
- The ID of the attachment set. If an attachmentSetId
is not specified, a new attachment
set is created, and the ID of the set is returned in the response. If an attachmentSetId
is specified, the attachments are added to the specified set, if it exists.AddAttachmentsToSetRequest.Builder attachments(Collection<Attachment> 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.
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.AddAttachmentsToSetRequest.Builder attachments(Attachment... 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.
NOTE: This method appends the values to the existing list (if any). Use
#setAttachments(java.util.Collection)
or #withAttachments(java.util.Collection)
if you want
to override the existing values.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.