Interface GetAttachmentUploadLinksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAttachmentUploadLinksResponse.Builder,,GetAttachmentUploadLinksResponse> SdkBuilder<GetAttachmentUploadLinksResponse.Builder,,GetAttachmentUploadLinksResponse> SdkPojo,SdkResponse.Builder,SupportResponse.Builder
- Enclosing class:
GetAttachmentUploadLinksResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe next part index to request presigned URLs for.partSizeBytes(Long partSizeBytes) The size, in bytes, of each part.totalParts(Integer totalParts) The total number of parts that the file is split into.The unique identifier for the multipart upload.uploadUrls(Collection<UploadUrl> uploadUrls) The list of presigned upload URLs for the requested range of parts.uploadUrls(Consumer<UploadUrl.Builder>... uploadUrls) The list of presigned upload URLs for the requested range of parts.uploadUrls(UploadUrl... uploadUrls) The list of presigned upload URLs for the requested range of parts.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.support.model.SupportResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
uploadId
The unique identifier for the multipart upload. Use this value in subsequent calls to
GetAttachmentUploadLinks, DescribeAttachmentUploadStatus, and CompleteAttachmentUpload, and to attach the upload to a case through theuploadIdsparameter on CreateCase or AddCommunicationToCase.- Parameters:
uploadId- The unique identifier for the multipart upload. Use this value in subsequent calls toGetAttachmentUploadLinks, DescribeAttachmentUploadStatus, and CompleteAttachmentUpload, and to attach the upload to a case through theuploadIdsparameter on CreateCase or AddCommunicationToCase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partSizeBytes
The size, in bytes, of each part. Split the file into parts of this size before you upload them to the presigned URLs. For an upload with
ntotal parts, parts 1 throughn- 1 are exactly this size; the last part may be smaller. Maximum: 104,857,600 bytes (approximately 100 MB).- Parameters:
partSizeBytes- The size, in bytes, of each part. Split the file into parts of this size before you upload them to the presigned URLs. For an upload withntotal parts, parts 1 throughn- 1 are exactly this size; the last part may be smaller. Maximum: 104,857,600 bytes (approximately 100 MB).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalParts
The total number of parts that the file is split into. Upload one part to each presigned URL.
- Parameters:
totalParts- The total number of parts that the file is split into. Upload one part to each presigned URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextIndex
The next part index to request presigned URLs for. If all upload URLs for the file have been returned, this field is
null. Use this value as thestartIndexinuploadRangeon a subsequent call toGetAttachmentUploadLinksto retrieve the next batch of upload URLs.- Parameters:
nextIndex- The next part index to request presigned URLs for. If all upload URLs for the file have been returned, this field isnull. Use this value as thestartIndexinuploadRangeon a subsequent call toGetAttachmentUploadLinksto retrieve the next batch of upload URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadUrls
The list of presigned upload URLs for the requested range of parts. The list contains at most 10 URLs per call. Upload each part to its corresponding URL by using HTTP
PUTbefore the URL expires.- Parameters:
uploadUrls- The list of presigned upload URLs for the requested range of parts. The list contains at most 10 URLs per call. Upload each part to its corresponding URL by using HTTPPUTbefore the URL expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadUrls
The list of presigned upload URLs for the requested range of parts. The list contains at most 10 URLs per call. Upload each part to its corresponding URL by using HTTP
PUTbefore the URL expires.- Parameters:
uploadUrls- The list of presigned upload URLs for the requested range of parts. The list contains at most 10 URLs per call. Upload each part to its corresponding URL by using HTTPPUTbefore the URL expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadUrls
The list of presigned upload URLs for the requested range of parts. The list contains at most 10 URLs per call. Upload each part to its corresponding URL by using HTTP
This is a convenience method that creates an instance of thePUTbefore the URL expires.UploadUrl.Builderavoiding the need to create one manually viaUploadUrl.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touploadUrls(List<UploadUrl>).- Parameters:
uploadUrls- a consumer that will call methods onUploadUrl.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-