| Package | Description |
|---|---|
| com.baidubce.services.bos | |
| com.baidubce.services.bos.model | |
| com.baidubce.services.vod.model |
| Modifier and Type | Method and Description |
|---|---|
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.
|
ObjectMetadata |
BosClient.getObject(String bucketName,
String key,
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.
|
ObjectMetadata |
BosClient.getObjectMetadata(GetObjectMetadataRequest request)
Gets the metadata for the specified Bos object without actually fetching the object itself.
|
ObjectMetadata |
BosClient.getObjectMetadata(String bucketName,
String key)
Gets the metadata for the specified Bos object without actually fetching the object itself.
|
| Modifier and Type | Method and Description |
|---|---|
AppendObjectResponse |
BosClient.appendObject(String bucketName,
String key,
byte[] value,
ObjectMetadata metadata)
Uploads the appendable bytes and object metadata to Bos under the specified bucket and key name.
|
AppendObjectResponse |
BosClient.appendObject(String bucketName,
String key,
File file,
ObjectMetadata metadata)
Uploads the specified appendable file to Bos under the specified bucket and key name.
|
AppendObjectResponse |
BosClient.appendObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Uploads the appendable input stream and object metadata to Bos under the specified bucket and key name.
|
AppendObjectResponse |
BosClient.appendObject(String bucketName,
String key,
String value,
ObjectMetadata metadata)
Uploads the specified string and object metadata to Bos under the specified bucket and key name.
|
CompleteMultipartUploadResponse |
BosClient.completeMultipartUpload(String bucketName,
String key,
String uploadId,
List<PartETag> partETags,
ObjectMetadata metadata)
Completes a multipart upload by assembling previously uploaded parts.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
byte[] value,
ObjectMetadata metadata)
Uploads the specified bytes and object metadata to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
File file,
ObjectMetadata metadata)
Uploads the specified file and object metadata to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Uploads the specified input stream and object metadata to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
String value,
ObjectMetadata metadata)
Uploads the specified string and object metadata to Bos under the specified bucket and key name.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectMetadata |
CopyObjectRequest.getNewObjectMetadata()
Gets the optional object metadata to set for the new, copied object.
|
ObjectMetadata |
InitiateMultipartUploadRequest.getObjectMetadata()
Returns the additional information about the new object being created,
such as content type, content encoding, user metadata, etc.
|
ObjectMetadata |
GetObjectMetadataResponse.getObjectMetadata() |
ObjectMetadata |
CompleteMultipartUploadRequest.getObjectMetadata()
Gets the optional metadata instructing Baidu Bos how to handle the uploaded data.
|
ObjectMetadata |
PutSuperObjectRequest.getObjectMetadata()
Returns the additional information about the new object being created,
such as content type, content encoding, user metadata, etc.
|
ObjectMetadata |
BosObject.getObjectMetadata()
Gets the metadata stored by Bos for this object.
|
ObjectMetadata |
PutObjectRequest.getObjectMetadata()
Gets the optional metadata instructing Baidu Bos how to handle the
uploaded data (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CopyObjectRequest.setNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object.
|
void |
InitiateMultipartUploadRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such
as content type, content encoding, user metadata, etc.
|
void |
GetObjectMetadataResponse.setObjectMetadata(ObjectMetadata objectMetadata) |
void |
CompleteMultipartUploadRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the optional metadata instructing Baidu Bos how to handle the uploaded data.
|
void |
PutSuperObjectRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such
as content type, content encoding, user metadata, etc.
|
void |
BosObject.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the object metadata for this object.
|
void |
PutObjectRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the optional metadata instructing Baidu Bos how to handle the
uploaded data (e.g.
|
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such
as content type, content encoding, user metadata, etc.
|
CopyObjectRequest |
CopyObjectRequest.withNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object and returns
this object, enabling additional method calls to be chained together.
|
CompleteMultipartUploadRequest |
CompleteMultipartUploadRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Sets the optional metadata instructing Baidu Bos how to handle the uploaded data .
|
AppendObjectRequest |
AppendObjectRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Sets the optional metadata instructing Baidu Bos how to handle the
uploaded data (e.g.
|
PutObjectRequest |
PutObjectRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Sets the optional metadata instructing Baidu Bos how to handle the
uploaded data (e.g.
|
| Constructor and Description |
|---|
AppendObjectRequest(String bucketName,
String key,
File file,
ObjectMetadata metadata)
Constructs a new AppendObjectRequest object to upload an appendable file
to the specified bucket and key.
|
AppendObjectRequest(String bucketName,
String key,
InputStream inputStream,
ObjectMetadata metadata)
Constructs a new AppendObjectRequest object to upload a stream of data to
the specified bucket and key.
|
CompleteMultipartUploadRequest(String bucketName,
String key,
String uploadId,
List<PartETag> partETags,
ObjectMetadata objectMetadata)
Constructs a new request to complete a multipart upload.
|
ObjectMetadata(ObjectMetadata other) |
PutObjectRequest(String bucketName,
String key,
File file,
InputStream inputStream,
ObjectMetadata objectMetadata)
Constructs a new PutObjectRequest object to upload a file and a stream of data to
the specified bucket and key.
|
PutObjectRequest(String bucketName,
String key,
File file,
ObjectMetadata metadata)
Constructs a new PutObjectRequest object to upload a file to the
specified bucket and key.
|
PutObjectRequest(String bucketName,
String key,
InputStream inputStream,
ObjectMetadata metadata)
Constructs a new PutObjectRequest object to upload a stream of data to
the specified bucket and key.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectMetadata |
CreateMediaResourceRequest.getObjectMetadata()
Gets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CreateMediaResourceRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.
|
CreateMediaResourceRequest |
CreateMediaResourceRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Sets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.
|
Copyright © 2022. All rights reserved.