| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
Bucket |
COSClient.createBucket(CreateBucketRequest createBucketRequest) |
Bucket |
COS.createBucket(CreateBucketRequest createBucketRequest)
Creates a new bucket in the region which is set in ClientConfig
Every object stored in is contained within a bucket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CreateBucketRequest |
CreateBucketRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new bucket.
|
CreateBucketRequest |
CreateBucketRequest.withCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional Canned ACL to set for the new bucket, and returns this updated object so
that additional method calls can be chained together.
|
Copyright © 2017. All rights reserved.