| Package | Description |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.model |
| Modifier and Type | Method and Description |
|---|---|
void |
COS.setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest)
Sets the policy associated with the specified bucket.
|
void |
COSClient.setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest) |
| Modifier and Type | Method and Description |
|---|---|
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 © 2023. All rights reserved.