| Package | Description |
|---|---|
| com.baidubce.services.bos | |
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
CopyObjectResponse |
BosClient.copyObject(CopyObjectRequest request)
Copies a source object to a new destination in Bos.
|
| Modifier and Type | Method and Description |
|---|---|
CopyObjectRequest |
CopyObjectRequest.withBucketName(String bucketName)
Sets the name of the destination bucket which will contain the new,
copied object and returns this object, enabling additional method calls
to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withETag(String eTag)
Sets the optional ETag that, when present, must be a match for the source object's current ETag
in order for the copy object request to be executed.
|
CopyObjectRequest |
CopyObjectRequest.withKey(String key)
Sets the destination bucket key under which the new, copied object
will be stored and returns this object, enabling additional method calls
can be chained together.
|
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.
|
CopyObjectRequest |
CopyObjectRequest.withRequestCredentials(BceCredentials credentials) |
CopyObjectRequest |
CopyObjectRequest.withSourceBucketName(String sourceBucketName)
Sets the name of the bucket containing the source object to be copied,
and returns this object, enabling additional method calls to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withSourceKey(String sourceKey)
Sets the key in the source bucket under which the source object to be
copied is stored and returns this object, enabling additional method calls
to be chained together.
|
Copyright © 2016. All rights reserved.