public static final class AttachAppPolicyToIdentityRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
AttachAppPolicyToIdentityRequest.Builder |
appId(String appId)
The ID of the application.
|
AttachAppPolicyToIdentityRequest |
build() |
AttachAppPolicyToIdentityRequest.Builder |
identityName(String identityName)
The ID of the RAM user or the name of the RAM role.
|
AttachAppPolicyToIdentityRequest.Builder |
identityType(String identityType)
The type of the identity.
|
AttachAppPolicyToIdentityRequest.Builder |
policyNames(String policyNames)
The name of the policy.
|
public AttachAppPolicyToIdentityRequest.Builder appId(String appId)
> This parameter is optional only if you set the policy name to VODAppAdministratorAccess.
public AttachAppPolicyToIdentityRequest.Builder identityName(String identityName)
* Specify the ID of the RAM user when the IdentityType parameter is set to RamUser. * Specify the name of the RAM role when the IdentityType parameter is set to RamRole.
public AttachAppPolicyToIdentityRequest.Builder identityType(String identityType)
* **RamUser**: a RAM user * **RamRole**: a RAM role
public AttachAppPolicyToIdentityRequest.Builder policyNames(String policyNames)
* **VODAppFullAccess**: permissions to manage all resources in an application. * **VODAppReadOnlyAccess**: permissions to read all resources in an application. * **VODAppAdministratorAccess**: permissions of the application administrator.
public AttachAppPolicyToIdentityRequest build()
Copyright © 2024. All rights reserved.