com.aliyun.oss.model

## 类 Grant

- java.lang.Object
- - com.aliyun.oss.model.Grant

-     public class Grant
      extends Object

  ACL's permission grant information.

- - ### 构造器概要

    构造器
    构造器和说明
    `Grant(Grantee grantee, Permission permission)` Constructor

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `equals(Object o)`
    `Grantee` | `getGrantee()` Gets the grantee.
    `Permission` | `getPermission()` Gets the `Permission` granted.
    `int` | `hashCode()`
    `String` | `toString()`

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

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

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

    - #### Grant

          public Grant(Grantee grantee,
               Permission permission)

      Constructor
      参数:
        `grantee` - The grantee. Currently it only supports `GroupGrantee.AllUsers`.
        `permission` - permission to grant.

  - ### 方法详细资料

    - #### getGrantee

          public Grantee getGrantee()

      Gets the grantee.
      返回:
        The `Grantee` instance.

    - #### getPermission

          public Permission getPermission()

      Gets the `Permission` granted.
      返回:
        The granted `Permission`.

    - #### equals

          public boolean equals(Object o)

      覆盖:
        `equals` 在类中 `Object`

    - #### hashCode

          public int hashCode()

      覆盖:
        `hashCode` 在类中 `Object`

    - #### toString

          public String toString()

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

Copyright © 2020. All Rights Reserved.