## 类的使用
com.obs.services.model.ExtensionObjectPermissionEnum

- 使用ExtensionObjectPermissionEnum的程序包
  程序包 | 说明
  --- | ---
  com.obs.services.model |

- - ### com.obs.services.model中ExtensionObjectPermissionEnum的使用

    类型参数类型为ExtensionObjectPermissionEnum的com.obs.services.model中的字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected Map<ExtensionObjectPermissionEnum,Set<String>>` | PutObjectBasicRequest.`extensionPermissionMap`

    返回ExtensionObjectPermissionEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static ExtensionObjectPermissionEnum` | ExtensionObjectPermissionEnum.`valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static ExtensionObjectPermissionEnum[]` | ExtensionObjectPermissionEnum.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    返回变量类型为ExtensionObjectPermissionEnum的类型的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Set<ExtensionObjectPermissionEnum>` | PutObjectsRequest.`getAllGrantPermissions()` Obtain all OBS extended permissions.
    `Set<ExtensionObjectPermissionEnum>` | PutObjectBasicRequest.`getAllGrantPermissions()`
    `Map<ExtensionObjectPermissionEnum,Set<String>>` | PutObjectsRequest.`getExtensionPermissionMap()` Obtain the set of relationships between users and OBS extension permissions.
    `Map<ExtensionObjectPermissionEnum,Set<String>>` | PutObjectBasicRequest.`getExtensionPermissionMap()`
    `Set<ExtensionObjectPermissionEnum>` | PutObjectsRequest.`getGrantPermissionsByDomainId(String domainId)` Obtain the OBS extension permissions of a specified user.
    `Set<ExtensionObjectPermissionEnum>` | PutObjectBasicRequest.`getGrantPermissionsByDomainId(String domainId)`

    参数类型为ExtensionObjectPermissionEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Set<String>` | PutObjectsRequest.`getDomainIdsByGrantPermission(ExtensionObjectPermissionEnum extensionPermissionEnum)` Obtain the list of user IDs with the specified OBS extension permissions.
    `Set<String>` | PutObjectBasicRequest.`getDomainIdsByGrantPermission(ExtensionObjectPermissionEnum extensionPermissionEnum)`
    `void` | PutObjectsRequest.`grantExtensionPermission(String domainId, ExtensionObjectPermissionEnum extensionPermissionEnum)` Grant the OBS extension permissions to a user.
    `void` | PutObjectBasicRequest.`grantExtensionPermission(String domainId, ExtensionObjectPermissionEnum extensionPermissionEnum)` Grant the OBS extension permission to users.
    `void` | PutObjectsRequest.`withdrawExtensionPermission(String domainId, ExtensionObjectPermissionEnum extensionPermissionEnum)` Withdraw the OBS extension permissions from a user.
    `void` | PutObjectBasicRequest.`withdrawExtensionPermission(String domainId, ExtensionObjectPermissionEnum extensionPermissionEnum)` Withdraw the OBS extension permission.

    类型变量类型为ExtensionObjectPermissionEnum的com.obs.services.model中的方法参数
    限定符和类型 | 方法和说明
    --- | ---
    `void` | PutObjectsRequest.`setExtensionPermissionMap(Map<ExtensionObjectPermissionEnum,Set<String>> extensionPermissionMap)` Set the set of relationships between users and OBS extension permissions.
    `void` | PutObjectBasicRequest.`setExtensionPermissionMap(Map<ExtensionObjectPermissionEnum,Set<String>> extensionPermissionMap)`

Copyright © 2021. All rights reserved.