| Package | Description |
|---|---|
| com.baidubce.services.bos | |
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
BosObject |
BosClient.getObject(GetObjectRequest request)
Gets the object stored in Bos under the specified bucket and key.
|
ObjectMetadata |
BosClient.getObject(GetObjectRequest request,
File destinationFile)
Gets the object metadata for the object stored in Bos under the specified bucket and key,
and saves the object contents to the specified file.
|
byte[] |
BosClient.getObjectContent(GetObjectRequest request)
Gets the object content stored in Bos under the specified bucket and key.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SetObjectSymlinkRequest
Request object containing all the options for setting a object symlink.
|
| Modifier and Type | Method and Description |
|---|---|
GetObjectRequest |
GetObjectRequest.withBucketName(String bucketName)
Sets the name of the bucket containing the object to be downloaded.
|
GetObjectRequest |
GetObjectRequest.withKey(String key)
Sets the key under which the object to be downloaded is stored.
|
GetObjectRequest |
GetObjectRequest.withRange(long start,
long end)
Sets the optional inclusive byte range within the desired object that will be downloaded by this request.
|
GetObjectRequest |
GetObjectRequest.withRequestCredentials(BceCredentials credentials) |
GetObjectRequest |
GetObjectRequest.withTrafficLimitBitPS(long trafficLimitBitPS) |
Copyright © 2023. All rights reserved.