Interface AddAttachmentsToSetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>,SdkBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>,SdkPojo,SdkRequest.Builder,SupportRequest.Builder
- Enclosing class:
- AddAttachmentsToSetRequest
public static interface AddAttachmentsToSetRequest.Builder extends SupportRequest.Builder, SdkPojo, CopyableBuilder<AddAttachmentsToSetRequest.Builder,AddAttachmentsToSetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddAttachmentsToSetRequest.Builderattachments(Collection<Attachment> attachments)One or more attachments to add to the set.AddAttachmentsToSetRequest.Builderattachments(Consumer<Attachment.Builder>... attachments)One or more attachments to add to the set.AddAttachmentsToSetRequest.Builderattachments(Attachment... attachments)One or more attachments to add to the set.AddAttachmentsToSetRequest.BuilderattachmentSetId(String attachmentSetId)The ID of the attachment set.AddAttachmentsToSetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AddAttachmentsToSetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.support.model.SupportRequest.Builder
build
-
-
-
-
Method Detail
-
attachmentSetId
AddAttachmentsToSetRequest.Builder attachmentSetId(String 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
AddAttachmentsToSetRequest.Builder attachments(Collection<Attachment> 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
AddAttachmentsToSetRequest.Builder attachments(Attachment... 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
AddAttachmentsToSetRequest.Builder attachments(Consumer<Attachment.Builder>... 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 to#attachments(List.) - 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:
#attachments(java.util.Collection)
-
overrideConfiguration
AddAttachmentsToSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddAttachmentsToSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-