public static interface AddAttachmentsToSetRequest.Builder extends SupportRequest.Builder, CopyableBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>
| Modifier and Type | Method and Description |
|---|---|
AddAttachmentsToSetRequest.Builder |
attachments(Attachment... attachments)
One or more attachments to add to the set.
|
AddAttachmentsToSetRequest.Builder |
attachments(Collection<Attachment> attachments)
One or more attachments to add to the set.
|
AddAttachmentsToSetRequest.Builder |
attachments(Consumer<Attachment.Builder>... attachments)
One or more attachments to add to the set.
|
AddAttachmentsToSetRequest.Builder |
attachmentSetId(String attachmentSetId)
The ID of the attachment set.
|
AddAttachmentsToSetRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AddAttachmentsToSetRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildAddAttachmentsToSetRequest.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.
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(Consumer<Attachment.Builder>... 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.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #attachments(List) .attachments - a consumer that will call methods on List.Builder #attachments(List) AddAttachmentsToSetRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.AddAttachmentsToSetRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.