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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.support.model.SupportRequest.Builder
build
-
Method Details
-
attachmentSetId
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.
-
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
Attachmentobject, use thedataparameter to specify the contents of the attachment file. In the previous request syntax, the value fordataappear asblob, which is represented as a base64-encoded string. The value forfileNameis 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
Attachmentobject, use thedataparameter to specify the contents of the attachment file. In the previous request syntax, the value fordataappear asblob, which is represented as a base64-encoded string. The value forfileNameis 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
Attachmentobject, use thedataparameter to specify the contents of the attachment file. In the previous request syntax, the value fordataappear asblob, which is represented as a base64-encoded string. The value forfileNameis 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
Attachmentobject, use thedataparameter to specify the contents of the attachment file. In the previous request syntax, the value fordataappear asblob, which is represented as a base64-encoded string. The value forfileNameis 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 theAttachmentobject, use thedataparameter to specify the contents of the attachment file. In the previous request syntax, the value fordataappear asblob, which is represented as a base64-encoded string. The value forfileNameis the name of the attachment, such astroubleshoot-screenshot.png.Attachment.Builderavoiding the need to create one manually viaAttachment.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-