Interface PartServiceAsync
-
- All Implemented Interfaces:
public interface PartServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
PartServiceAsync.WithRawResponse
A view of PartServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract PartServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<UploadPart>
create(String uploadId, PartCreateParams params)
Adds a Part to an Upload object. CompletableFuture<UploadPart>
create(String uploadId, PartCreateParams params, RequestOptions requestOptions)
CompletableFuture<UploadPart>
create(PartCreateParams params)
abstract CompletableFuture<UploadPart>
create(PartCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract PartServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<UploadPart> create(String uploadId, PartCreateParams params)
Adds a Part to an Upload object. A Part represents a chunk of bytes from the file you are trying to upload.
Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.
It is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you complete the Upload.
-
create
CompletableFuture<UploadPart> create(String uploadId, PartCreateParams params, RequestOptions requestOptions)
-
create
CompletableFuture<UploadPart> create(PartCreateParams params)
-
create
abstract CompletableFuture<UploadPart> create(PartCreateParams params, RequestOptions requestOptions)
-
-
-
-