| 程序包 | 说明 |
|---|---|
| com.qcloud.cos.model |
| 限定符和类型 | 类和说明 |
|---|---|
class |
EncryptedPutObjectRequest |
class |
PutObjectRequest
Uploads a new object to the specified Qcloud COS bucket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected <T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.copyPutObjectBaseTo(T target) |
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withBucketName(String bucketName)
Sets the name of the bucket where this request will upload a new
object to.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new
object.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withFile(File file)
Sets the file containing the data to be uploaded to Qcloud COS.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withInputStream(InputStream inputStream)
Sets the input stream containing the data to be uploaded to Qcloud COS.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withKey(String key)
Sets the key under which to store the new object.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Qcloud COS how to handle the
uploaded data (e.g. custom user metadata, hooks for specifying content
type, etc.).
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withRedirectLocation(String redirectLocation)
Sets the optional redirect location for the new object.Returns this
AbstractPutObjectRequest, enabling additional method calls to be chained
together. |
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withSSECOSKeyManagementParams(SSECOSKeyManagementParams sseCOSKeyManagementParams)
Sets the COS Key Management System parameters used to encrypt the object
on server side.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withSSECustomerKey(SSECustomerKey sseKey)
Sets the optional customer-provided server-side encryption key to use to
encrypt the uploaded object, and returns the updated request object so
that additional method calls can be chained together.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withStorageClass(StorageClass storageClass)
Sets the optional Qcloud COS storage class to use when storing the new
object.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withStorageClass(String storageClass)
Sets the optional Qcloud COS storage class to use when storing the new
object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract AbstractPutObjectRequest |
AbstractPutObjectRequest.clone() |
Copyright © 2017. All rights reserved.