com.obs.services.model

## 类 GetObjectAclRequest

- java.lang.Object
- - com.obs.services.model.GenericRequest
  - - com.obs.services.model.GetObjectAclRequest

-     public class GetObjectAclRequest
      extends GenericRequest

  Parameters in a request for obtaining object ACLs
  从以下版本开始:
    3.20.3

- - ### 构造器概要

    构造器
    构造器和说明
    `GetObjectAclRequest()`
    `GetObjectAclRequest(String bucketName, String objectKey, String versionId)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the name of the bucket to which the object belongs.
    `String` | `getObjectKey()` Obtain the name of the object.
    `String` | `getVersionId()` Obtain the object version ID.
    `void` | `setBucketName(String bucketName)` Set name for the bucket to which the object belongs.
    `void` | `setObjectKey(String objectKey)` Set a name for an object.
    `void` | `setVersionId(String versionId)` Set the version ID of the object.
    `String` | `toString()`

    - ### 从类继承的方法 com.obs.services.model.GenericRequest

      `isRequesterPays, setRequesterPays`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### GetObjectAclRequest

          public GetObjectAclRequest()

    - #### GetObjectAclRequest

          public GetObjectAclRequest(String bucketName,
                                     String objectKey,
                                     String versionId)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - Object name
        `versionId` - Object version ID

  - ### 方法详细资料

    - #### getVersionId

          public String getVersionId()

      Obtain the object version ID.
      返回:
        Version ID of the object

    - #### setVersionId

          public void setVersionId(String versionId)

      Set the version ID of the object.
      参数:
        `versionId` - Object version ID

    - #### getBucketName

          public String getBucketName()

      Obtain the name of the bucket to which the object belongs.
      返回:
        Name of the bucket to which the object belongs

    - #### setBucketName

          public void setBucketName(String bucketName)

      Set name for the bucket to which the object belongs.
      参数:
        `bucketName` - Name of the bucket to which the object belongs

    - #### getObjectKey

          public String getObjectKey()

      Obtain the name of the object.
      返回:
        Object name

    - #### setObjectKey

          public void setObjectKey(String objectKey)

      Set a name for an object.
      参数:
        `objectKey` - Object name

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `GenericRequest`

Copyright © 2021. All rights reserved.