com.obs.services.model

## 枚举 ExtensionBucketPermissionEnum

- java.lang.Object
- - java.lang.Enum<ExtensionBucketPermissionEnum>
  - - com.obs.services.model.ExtensionBucketPermissionEnum

- 所有已实现的接口:
    Serializable, Comparable<ExtensionBucketPermissionEnum>

      public enum ExtensionBucketPermissionEnum
      extends Enum<ExtensionBucketPermissionEnum>

  OBS Bucket extension permission

- - ### 枚举常量概要

    枚举常量
    枚举常量和说明
    `GRANT_FULL_CONTROL` Grant full control permissions to users in the domain of the specified ID.
    `GRANT_FULL_CONTROL_DELIVERED` Grant the full control permission to all users belonging to the specified "domainId".
    `GRANT_READ` Grant the read permission to all users belonging to the specified "domainId" for listing objects, listing multipart uploads, listing bucket versions, and obtaining bucket metadata.
    `GRANT_READ_ACP` Grant the "READ_ACP" permission to all users belonging to the specified "domainId" to obtain ACLs of objects.
    `GRANT_READ_DELIVERED` Grant the read permission to all users belonging to the specified "domainId".
    `GRANT_WRITE` Grant the write permission to all users belonging to the specified "domainId" so that the users can create, delete, overwrite objects in buckets, as well as initialize, upload, copy, and combine parts and cancel multipart uploads.
    `GRANT_WRITE_ACP` Grant the "WRITE_ACP" permission to all users belonging to the specified "domainId" to modify bucket ACLs.

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getCode()`
    `static ExtensionBucketPermissionEnum` | `valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static ExtensionBucketPermissionEnum[]` | `values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

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

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

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

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### 枚举常量详细资料

    - #### GRANT_READ

          public static final ExtensionBucketPermissionEnum GRANT_READ

      Grant the read permission to all users belonging to the specified "domainId" for listing objects, listing multipart uploads, listing bucket versions, and obtaining bucket metadata.

    - #### GRANT_WRITE

          public static final ExtensionBucketPermissionEnum GRANT_WRITE

      Grant the write permission to all users belonging to the specified "domainId" so that the users can create, delete, overwrite objects in buckets, as well as initialize, upload, copy, and combine parts and cancel multipart uploads.

    - #### GRANT_READ_ACP

          public static final ExtensionBucketPermissionEnum GRANT_READ_ACP

      Grant the "READ_ACP" permission to all users belonging to the specified "domainId" to obtain ACLs of objects.

    - #### GRANT_WRITE_ACP

          public static final ExtensionBucketPermissionEnum GRANT_WRITE_ACP

      Grant the "WRITE_ACP" permission to all users belonging to the specified "domainId" to modify bucket ACLs.

    - #### GRANT_FULL_CONTROL

          public static final ExtensionBucketPermissionEnum GRANT_FULL_CONTROL

      Grant full control permissions to users in the domain of the specified ID.

    - #### GRANT_READ_DELIVERED

          public static final ExtensionBucketPermissionEnum GRANT_READ_DELIVERED

      Grant the read permission to all users belonging to the specified "domainId". By default, these users have the read permission on all objects in the bucket.

    - #### GRANT_FULL_CONTROL_DELIVERED

          public static final ExtensionBucketPermissionEnum GRANT_FULL_CONTROL_DELIVERED

      Grant the full control permission to all users belonging to the specified "domainId". By default, these users have the full control permission on all objects in the bucket.

  - ### 方法详细资料

    - #### values

          public static ExtensionBucketPermissionEnum[] values()

      按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:

          for (ExtensionBucketPermissionEnum c : ExtensionBucketPermissionEnum.values())
              System.out.println(c);

      返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组

    - #### valueOf

          public static ExtensionBucketPermissionEnum valueOf(String name)

      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
        `name` - 要返回的枚举常量的名称。
      返回:
        返回带有指定名称的枚举常量
      抛出:
        `IllegalArgumentException` - 如果该枚举类型没有带有指定名称的常量
        `NullPointerException` - 如果参数为空值

    - #### getCode

          public String getCode()

Copyright © 2021. All rights reserved.