| Package | Description |
|---|---|
| com.baidubce.services.bos | |
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
AppendObjectResponse |
BosClient.appendObject(AppendObjectRequest request)
Uploads a new object to the specified Bos bucket.
|
| Modifier and Type | Method and Description |
|---|---|
AppendObjectRequest |
AppendObjectRequest.withBucketName(String bucketName)
Sets the name of the bucket where this request will upload a new
object to.
|
AppendObjectRequest |
AppendObjectRequest.withFile(File file)
Sets the file containing the data to be uploaded to Baidu Bos.
|
AppendObjectRequest |
AppendObjectRequest.withInputStream(InputStream inputStream)
Sets the input stream containing the data to be uploaded to Baidu Bos.
|
AppendObjectRequest |
AppendObjectRequest.withKey(String key)
Sets the key under which to store the new object.
|
AppendObjectRequest |
AppendObjectRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Sets the optional metadata instructing Baidu Bos how to handle the
uploaded data (e.g.
|
AppendObjectRequest |
AppendObjectRequest.withOffset(Long offset)
Sets the offset of the file, which shows the resume position of appendable file.
|
AppendObjectRequest |
AppendObjectRequest.withRequestCredentials(BceCredentials credentials)
Sets the optional credentials to use for this request, overriding the default credentials set at the client
level.
|
Copyright © 2020. All rights reserved.