Interface GetAttachmentDownloadLinkRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetAttachmentDownloadLinkRequest.Builder,,GetAttachmentDownloadLinkRequest> SdkBuilder<GetAttachmentDownloadLinkRequest.Builder,,GetAttachmentDownloadLinkRequest> SdkPojo,SdkRequest.Builder,SupportRequest.Builder
- Enclosing class:
GetAttachmentDownloadLinkRequest
@Mutable
@NotThreadSafe
public static interface GetAttachmentDownloadLinkRequest.Builder
extends SupportRequest.Builder, SdkPojo, CopyableBuilder<GetAttachmentDownloadLinkRequest.Builder,GetAttachmentDownloadLinkRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattachmentId(String attachmentId) The unique identifier of the attachment for which to retrieve a download link.Specifies whether to validate the request without actually returning a download link.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.support.model.SupportRequest.Builder
build
-
Method Details
-
attachmentId
The unique identifier of the attachment for which to retrieve a download link. Attachment IDs are returned in the
AttachmentDetailsobjects in theattachmentsfield of a Communication returned by DescribeCommunications or DescribeCases.- Parameters:
attachmentId- The unique identifier of the attachment for which to retrieve a download link. Attachment IDs are returned in theAttachmentDetailsobjects in theattachmentsfield of a Communication returned by DescribeCommunications or DescribeCases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Specifies whether to validate the request without actually returning a download link. When set to
true, the request is validated but no URL is returned, and the operation returns aDryRunOperationException. When omitted or set tofalse, the request runs normally.- Parameters:
dryRun- Specifies whether to validate the request without actually returning a download link. When set totrue, the request is validated but no URL is returned, and the operation returns aDryRunOperationException. When omitted or set tofalse, the request runs normally.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetAttachmentDownloadLinkRequest.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
GetAttachmentDownloadLinkRequest.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.
-