com.aliyun.oss.model

## 类 ObjectAcl

- java.lang.Object
- - com.aliyun.oss.model.GenericResult
  - - com.aliyun.oss.model.ObjectAcl

- 所有已实现的接口:
    Serializable

      public class ObjectAcl
      extends GenericResult
      implements Serializable

  OSS Object ACL。
  另请参阅:
    序列化表格

- - ### 构造器概要

    构造器
    构造器和说明
    `ObjectAcl()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `Owner` | `getOwner()` Gets the `Owner`.
    `ObjectPermission` | `getPermission()` Gets the object's `ObjectPermission`。
    `String` | `getVersionId()`
    `void` | `setOwner(Owner owner)` Sets the `Owner`.
    `void` | `setPermission(ObjectPermission permission)` Sets the object's `ObjectPermission`.
    `void` | `setVersionId(String versionId)`
    `String` | `toString()` The ACL's serialization string, which includes owner and permission.

    - ### 从类继承的方法 com.aliyun.oss.model.GenericResult

      `getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC`

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

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

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

    - #### ObjectAcl

          public ObjectAcl()

  - ### 方法详细资料

    - #### getOwner

          public Owner getOwner()

      Gets the `Owner`.
      返回:
        The `Owner`。

    - #### setOwner

          public void setOwner(Owner owner)

      Sets the `Owner`.
      参数:
        `owner` - The `Owner`.

    - #### getPermission

          public ObjectPermission getPermission()

      Gets the object's `ObjectPermission`。
      返回:
        Object's `ObjectPermission`。

    - #### setPermission

          public void setPermission(ObjectPermission permission)

      Sets the object's `ObjectPermission`.
      参数:
        `permission` - Object's `ObjectPermission`.

    - #### getVersionId

          public String getVersionId()

    - #### setVersionId

          public void setVersionId(String versionId)

    - #### toString

          public String toString()

      The ACL's serialization string, which includes owner and permission.
      覆盖:
        `toString` 在类中 `Object`

Copyright © 2020. All Rights Reserved.