| 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.withModifiedSinceConstraint(String modifiedSinceConstraint)
Sets the the value of the modifiedSinceConstraint,if the value is less than the actual file modification
time, then take the normal file transfer process.
|
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.withNoMatchingETagConstraint(String noneMatchETagConstraint)
Sets the optional ETag that, when present, must be not a match for the source object's current
ETag in order for the copy object request to be executed.
|
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.
|
CopyObjectRequest |
CopyObjectRequest.withStorageClass(String storageClass)
Sets the storageClass of the input file which is to be copyed to Baidu Bos.
|
CopyObjectRequest |
CopyObjectRequest.withTrafficLimitBitPS(long trafficLimitBitPS) |
CopyObjectRequest |
CopyObjectRequest.withUnmodifiedSinceConstraint(String unmodifiedSinceConstraint)
Sets the the value of the unmodifiedSinceConstraint,if the value is equal to or later than the actual
file modification time, then take the normal file transfer process.
|
Copyright © 2023. All rights reserved.