Interface CompleteAttachmentUploadRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CompleteAttachmentUploadRequest.Builder,,CompleteAttachmentUploadRequest> SdkBuilder<CompleteAttachmentUploadRequest.Builder,,CompleteAttachmentUploadRequest> SdkPojo,SdkRequest.Builder,SupportRequest.Builder
- Enclosing class:
CompleteAttachmentUploadRequest
-
Method Summary
Modifier and TypeMethodDescriptioncompletedUploads(Collection<CompletedUpload> completedUploads) The list of parts being reported as completed in this call.completedUploads(Consumer<CompletedUpload.Builder>... completedUploads) The list of parts being reported as completed in this call.completedUploads(CompletedUpload... completedUploads) The list of parts being reported as completed in this call.Specifies whether to validate the request without actually completing the upload.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier associated with the upload to complete.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
-
uploadId
The identifier associated with the upload to complete.
- Parameters:
uploadId- The identifier associated with the upload to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedUploads
CompleteAttachmentUploadRequest.Builder completedUploads(Collection<CompletedUpload> completedUploads) The list of parts being reported as completed in this call. Each entry must contain the
partIndexof an uploaded part and theETagreturned by Amazon S3 when that part was uploaded.- Parameters:
completedUploads- The list of parts being reported as completed in this call. Each entry must contain thepartIndexof an uploaded part and theETagreturned by Amazon S3 when that part was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedUploads
The list of parts being reported as completed in this call. Each entry must contain the
partIndexof an uploaded part and theETagreturned by Amazon S3 when that part was uploaded.- Parameters:
completedUploads- The list of parts being reported as completed in this call. Each entry must contain thepartIndexof an uploaded part and theETagreturned by Amazon S3 when that part was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedUploads
CompleteAttachmentUploadRequest.Builder completedUploads(Consumer<CompletedUpload.Builder>... completedUploads) The list of parts being reported as completed in this call. Each entry must contain the
This is a convenience method that creates an instance of thepartIndexof an uploaded part and theETagreturned by Amazon S3 when that part was uploaded.CompletedUpload.Builderavoiding the need to create one manually viaCompletedUpload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompletedUploads(List<CompletedUpload>).- Parameters:
completedUploads- a consumer that will call methods onCompletedUpload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dryRun
Specifies whether to validate the request without actually completing the upload. When set to
true, the request is validated but the upload isn't finalized, and the operation returns aDryRunOperationException. When omitted or set tofalse, the request runs normally.- Parameters:
dryRun- Specifies whether to validate the request without actually completing the upload. When set totrue, the request is validated but the upload isn't finalized, 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
CompleteAttachmentUploadRequest.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
CompleteAttachmentUploadRequest.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.
-