| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
COSClient.setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest) |
void |
COS.setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest)
Sets the policy associated with the specified bucket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SetBucketPolicyRequest |
SetBucketPolicyRequest.withBucketName(String bucketName)
Sets the name of the COS bucket whose policy is being set, and
returns the updated request object so that additional method calls can be
chained together.
|
SetBucketPolicyRequest |
SetBucketPolicyRequest.withPolicyText(String policyText)
Sets the policy to apply to the specified bucket, and returns the updated
request object so that additional method calls can be chained together.
|
Copyright © 2020. All rights reserved.