com.obs.services.model

## 类 GrantAndPermission

- java.lang.Object
- - com.obs.services.model.GrantAndPermission

-     public class GrantAndPermission
      extends Object

  Grantee or grantee group and permission information, `AccessControlList`

- - ### 构造器概要

    构造器
    构造器和说明
    `GrantAndPermission(GranteeInterface grantee, Permission permission)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `equals(Object obj)`
    `GranteeInterface` | `getGrantee()` Obtain the grantee (group) information.
    `Permission` | `getPermission()` Obtain the permission information.
    `int` | `hashCode()`
    `boolean` | `isDelivered()` Check whether the bucket ACL is deliverable.
    `void` | `setDelivered(boolean delivered)` Specify whether to deliver the bucket ACL.
    `String` | `toString()`

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

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

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

    - #### GrantAndPermission

          public GrantAndPermission(GranteeInterface grantee,
                                    Permission permission)

      Constructor
      参数:
        `grantee` - Grantee (group) name
        `permission` - Permission information

  - ### 方法详细资料

    - #### getGrantee

          public GranteeInterface getGrantee()

      Obtain the grantee (group) information.
      返回:
        Grantee (group) information

    - #### getPermission

          public Permission getPermission()

      Obtain the permission information.
      返回:
        Permission information

    - #### isDelivered

          public boolean isDelivered()

      Check whether the bucket ACL is deliverable.
      返回:
        Identifier specifying whether the ACL is delivered

    - #### setDelivered

          public void setDelivered(boolean delivered)

      Specify whether to deliver the bucket ACL. (This is only applicable to bucket ACLs.)
      参数:
        `delivered` - Whether to deliver the bucket ACL

    - #### toString

          public String toString()

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

    - #### hashCode

          public int hashCode()

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

    - #### equals

          public boolean equals(Object obj)

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

Copyright © 2021. All rights reserved.