com.obs.services.model

## 类 Permission

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

-     public final class Permission
      extends Object

  Permissions in the ACL

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static Permission` | `PERMISSION_FULL_CONTROL` Full control permission
    `static Permission` | `PERMISSION_FULL_CONTROL_OBJECT` 已过时。
    `static Permission` | `PERMISSION_READ` Read permission
    `static Permission` | `PERMISSION_READ_ACP` ACL read permission
    `static Permission` | `PERMISSION_READ_OBJECT` 已过时。
    `static Permission` | `PERMISSION_WRITE` Write permission
    `static Permission` | `PERMISSION_WRITE_ACP` ACL write permission

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `equals(Object obj)`
    `String` | `getPermissionString()`
    `int` | `hashCode()`
    `static Permission` | `parsePermission(String str)` Obtain a permission object based on the string.
    `String` | `toString()`

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

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

- - ### 字段详细资料

    - #### PERMISSION_FULL_CONTROL

          public static final Permission PERMISSION_FULL_CONTROL

      Full control permission

    - #### PERMISSION_READ

          public static final Permission PERMISSION_READ

      Read permission

    - #### PERMISSION_WRITE

          public static final Permission PERMISSION_WRITE

      Write permission

    - #### PERMISSION_READ_ACP

          public static final Permission PERMISSION_READ_ACP

      ACL read permission

    - #### PERMISSION_WRITE_ACP

          public static final Permission PERMISSION_WRITE_ACP

      ACL write permission

    - #### PERMISSION_READ_OBJECT

          @Deprecated
          public static final Permission PERMISSION_READ_OBJECT

      已过时。
      Read permission on objects in the bucket

    - #### PERMISSION_FULL_CONTROL_OBJECT

          @Deprecated
          public static final Permission PERMISSION_FULL_CONTROL_OBJECT

      已过时。
      Full control permission on objects in the bucket

  - ### 方法详细资料

    - #### getPermissionString

          public String getPermissionString()

    - #### parsePermission

          public static Permission parsePermission(String str)

      Obtain a permission object based on the string.
      参数:
        `str` - Permission name
      返回:
        Permission object corresponding to the permission name

    - #### toString

          public String toString()

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

    - #### equals

          public boolean equals(Object obj)

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

    - #### hashCode

          public int hashCode()

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

Copyright © 2021. All rights reserved.