Interface AddAttachmentsToSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddAttachmentsToSetRequest.Builder,
,AddAttachmentsToSetRequest> SdkBuilder<AddAttachmentsToSetRequest.Builder,
,AddAttachmentsToSetRequest> SdkPojo
,SdkRequest.Builder
,SupportRequest.Builder
- Enclosing class:
AddAttachmentsToSetRequest
-
Method Summary
Modifier and TypeMethodDescriptionattachments
(Collection<Attachment> attachments) One or more attachments to add to the set.attachments
(Consumer<Attachment.Builder>... attachments) One or more attachments to add to the set.attachments
(Attachment... attachments) One or more attachments to add to the set.attachmentSetId
(String attachmentSetId) The ID of the attachment set.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.support.model.SupportRequest.Builder
build
-
Method Details
-
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 anattachmentSetId
is specified, the attachments are added to the specified set, if it exists.- Parameters:
attachmentSetId
- The ID of the attachment set. If anattachmentSetId
is not specified, a new attachment set is created, and the ID of the set is returned in the response. If anattachmentSetId
is 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.
-
attachments
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the
Attachment
object, use thedata
parameter to specify the contents of the attachment file. In the previous request syntax, the value fordata
appear asblob
, which is represented as a base64-encoded string. The value forfileName
is the name of the attachment, such astroubleshoot-screenshot.png
.- Parameters:
attachments
- One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.In the
Attachment
object, use thedata
parameter to specify the contents of the attachment file. In the previous request syntax, the value fordata
appear asblob
, which is represented as a base64-encoded string. The value forfileName
is the name of the attachment, such astroubleshoot-screenshot.png
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the
Attachment
object, use thedata
parameter to specify the contents of the attachment file. In the previous request syntax, the value fordata
appear asblob
, which is represented as a base64-encoded string. The value forfileName
is the name of the attachment, such astroubleshoot-screenshot.png
.- Parameters:
attachments
- One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.In the
Attachment
object, use thedata
parameter to specify the contents of the attachment file. In the previous request syntax, the value fordata
appear asblob
, which is represented as a base64-encoded string. The value forfileName
is the name of the attachment, such astroubleshoot-screenshot.png
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the
This is a convenience method that creates an instance of theAttachment
object, use thedata
parameter to specify the contents of the attachment file. In the previous request syntax, the value fordata
appear asblob
, which is represented as a base64-encoded string. The value forfileName
is the name of the attachment, such astroubleshoot-screenshot.png
.Attachment.Builder
avoiding the need to create one manually viaAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachments(List<Attachment>)
.- Parameters:
attachments
- a consumer that will call methods onAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddAttachmentsToSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddAttachmentsToSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-