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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AddAttachmentsToSetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, 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.
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AddAttachmentsToSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.