Interface DescribeAttachmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeAttachmentRequest.Builder,,DescribeAttachmentRequest> SdkBuilder<DescribeAttachmentRequest.Builder,,DescribeAttachmentRequest> SdkPojo,SdkRequest.Builder,SupportRequest.Builder
- Enclosing class:
DescribeAttachmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionattachmentId(String attachmentId) The ID of the attachment to return.Specifies whether to validate the request without actually retrieving the attachment.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 ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.
If the specified attachment is larger than 5 MB, this operation returns
InvalidParameterValueException. To download attachments larger than 5 MB, use GetAttachmentDownloadLink.- Parameters:
attachmentId- The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.If the specified attachment is larger than 5 MB, this operation returns
InvalidParameterValueException. To download attachments larger than 5 MB, use GetAttachmentDownloadLink.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Specifies whether to validate the request without actually retrieving the attachment. When set to
true, the request is validated but no attachment content 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 retrieving the attachment. When set totrue, the request is validated but no attachment content 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
DescribeAttachmentRequest.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
DescribeAttachmentRequest.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.
-