## 类的使用
com.obs.services.model.AccessControlList

- 使用AccessControlList的程序包
  程序包 | 说明
  --- | ---
  com.obs.services |
  com.obs.services.model |

- - ### com.obs.services中AccessControlList的使用

    返回AccessControlList的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `AccessControlList` | ObsClient.`getBucketAcl(BaseBucketRequest request)`
    `AccessControlList` | IObsClient.`getBucketAcl(BaseBucketRequest request)` Obtain a bucket ACL.
    `AccessControlList` | ObsClient.`getBucketAcl(String bucketName)`
    `AccessControlList` | IObsClient.`getBucketAcl(String bucketName)` Obtain a bucket ACL.
    `AccessControlList` | SecretFlexibleObsClient.`getBucketAcl(String bucketName, String accessKey, String secretKey)`
    `AccessControlList` | SecretFlexibleObsClient.`getBucketAcl(String bucketName, String accessKey, String secretKey, String securityToken)`
    `AccessControlList` | ObsClient.`getObjectAcl(GetObjectAclRequest request)`
    `AccessControlList` | IObsClient.`getObjectAcl(GetObjectAclRequest request)` Obtain an object ACL.
    `AccessControlList` | ObsClient.`getObjectAcl(String bucketName, String objectKey)`
    `AccessControlList` | IObsClient.`getObjectAcl(String bucketName, String objectKey)` Obtain an object ACL.
    `AccessControlList` | ObsClient.`getObjectAcl(String bucketName, String objectKey, String versionId)`
    `AccessControlList` | IObsClient.`getObjectAcl(String bucketName, String objectKey, String versionId)` Obtain an object ACL.
    `AccessControlList` | SecretFlexibleObsClient.`getObjectAcl(String bucketName, String objectKey, String accessKey, String secretKey)`
    `AccessControlList` | SecretFlexibleObsClient.`getObjectAcl(String bucketName, String objectKey, String versionId, String accessKey, String secretKey)`
    `AccessControlList` | SecretFlexibleObsClient.`getObjectAcl(String bucketName, String objectKey, String versionId, String accessKey, String secretKey, String securityToken)`

    参数类型为AccessControlList的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `HeaderResponse` | ObsClient.`setBucketAcl(String bucketName, AccessControlList acl)`
    `HeaderResponse` | IObsClient.`setBucketAcl(String bucketName, AccessControlList acl)` Set a bucket ACL.
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketAcl(String bucketName, AccessControlList acl, String accessKey, String secretKey)`
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketAcl(String bucketName, AccessControlList acl, String accessKey, String secretKey, String securityToken)`
    `HeaderResponse` | ObsClient.`setBucketAcl(String bucketName, String cannedACL, AccessControlList acl)` 已过时。
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketAcl(String bucketName, String cannedACL, AccessControlList acl, String accessKey, String secretKey)` 已过时。
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketAcl(String bucketName, String cannedACL, AccessControlList acl, String accessKey, String secretKey, String securityToken)` 已过时。
    `HeaderResponse` | ObsClient.`setObjectAcl(String bucketName, String objectKey, AccessControlList acl)`
    `HeaderResponse` | IObsClient.`setObjectAcl(String bucketName, String objectKey, AccessControlList acl)` Set an object ACL.
    `HeaderResponse` | ObsClient.`setObjectAcl(String bucketName, String objectKey, AccessControlList acl, String versionId)`
    `HeaderResponse` | IObsClient.`setObjectAcl(String bucketName, String objectKey, AccessControlList acl, String versionId)` Set an object ACL.
    `HeaderResponse` | SecretFlexibleObsClient.`setObjectAcl(String bucketName, String objectKey, AccessControlList acl, String accessKey, String secretKey)`
    `HeaderResponse` | SecretFlexibleObsClient.`setObjectAcl(String bucketName, String objectKey, AccessControlList acl, String versionId, String accessKey, String secretKey)`
    `HeaderResponse` | SecretFlexibleObsClient.`setObjectAcl(String bucketName, String objectKey, AccessControlList acl, String versionId, String accessKey, String secretKey, String securityToken)`
    `HeaderResponse` | ObsClient.`setObjectAcl(String bucketName, String objectKey, String cannedACL, AccessControlList acl, String versionId)` 已过时。
    `HeaderResponse` | SecretFlexibleObsClient.`setObjectAcl(String bucketName, String objectKey, String cannedACL, AccessControlList acl, String versionId, String accessKey, String secretKey)` 已过时。
    `HeaderResponse` | SecretFlexibleObsClient.`setObjectAcl(String bucketName, String objectKey, String cannedACL, AccessControlList acl, String versionId, String accessKey, String secretKey, String securityToken)` 已过时。

  - ### com.obs.services.model中AccessControlList的使用

    声明为AccessControlList的com.obs.services.model中的字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected AccessControlList` | S3Bucket.`acl` 已过时。
    `protected AccessControlList` | PutObjectBasicRequest.`acl`
    `static AccessControlList` | AccessControlList.`REST_CANNED_AUTHENTICATED_READ` 已过时。
    `static AccessControlList` | AccessControlList.`REST_CANNED_BUCKET_OWNER_FULL_CONTROL` 已过时。
    `static AccessControlList` | AccessControlList.`REST_CANNED_BUCKET_OWNER_READ` 已过时。
    `static AccessControlList` | AccessControlList.`REST_CANNED_LOG_DELIVERY_WRITE` 已过时。
    `static AccessControlList` | AccessControlList.`REST_CANNED_PRIVATE` Pre-defined access control policy: private
    `static AccessControlList` | AccessControlList.`REST_CANNED_PUBLIC_READ` Pre-defined access control policy: public-read
    `static AccessControlList` | AccessControlList.`REST_CANNED_PUBLIC_READ_DELIVERED` Pre-defined access control policy: public-read-delivered
    `static AccessControlList` | AccessControlList.`REST_CANNED_PUBLIC_READ_WRITE` Pre-defined access control policy: public-read-write
    `static AccessControlList` | AccessControlList.`REST_CANNED_PUBLIC_READ_WRITE_DELIVERED` Pre-defined access control policy: public-read-write-delivered

    返回AccessControlList的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `AccessControlList` | PutObjectsRequest.`getAcl()` Obtain the ACL of the object.
    `AccessControlList` | S3Bucket.`getAcl()` 已过时。
    `AccessControlList` | SetObjectAclRequest.`getAcl()`
    `AccessControlList` | PutObjectBasicRequest.`getAcl()` Obtain the ACL of the object.
    `AccessControlList` | SetBucketAclRequest.`getAcl()`
    `AccessControlList` | ObsBucket.`getAcl()` Obtain the bucket ACL.
    `AccessControlList` | CreateBucketRequest.`getAcl()`

    参数类型为AccessControlList的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | PutObjectsRequest.`setAcl(AccessControlList acl)` Set the object ACL.
    `void` | S3Bucket.`setAcl(AccessControlList acl)` 已过时。
    `void` | SetObjectAclRequest.`setAcl(AccessControlList acl)`
    `void` | PutObjectBasicRequest.`setAcl(AccessControlList acl)` Set the object ACL.
    `void` | SetBucketAclRequest.`setAcl(AccessControlList acl)`
    `void` | ObsBucket.`setAcl(AccessControlList acl)` Set the bucket ACL.
    `void` | CreateBucketRequest.`setAcl(AccessControlList acl)` Set the bucket ACL.

    参数类型为AccessControlList的com.obs.services.model中的构造器
    构造器和说明
    `SetBucketAclRequest(String bucketName, AccessControlList acl)`
    `SetObjectAclRequest(String bucketName, String objectKey, AccessControlList acl)`
    `SetObjectAclRequest(String bucketName, String objectKey, AccessControlList acl, String versionId)`

Copyright © 2021. All rights reserved.