public class DetachAppPolicyFromIdentityRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
appId
The ID of the application.
|
String |
identityName
The name of the identity.
|
String |
identityType
The type of the identity.
|
String |
policyNames
The name of the policy.
|
| 构造器和说明 |
|---|
DetachAppPolicyFromIdentityRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DetachAppPolicyFromIdentityRequest |
build(Map<String,?> map) |
String |
getAppId() |
String |
getIdentityName() |
String |
getIdentityType() |
String |
getPolicyNames() |
DetachAppPolicyFromIdentityRequest |
setAppId(String appId) |
DetachAppPolicyFromIdentityRequest |
setIdentityName(String identityName) |
DetachAppPolicyFromIdentityRequest |
setIdentityType(String identityType) |
DetachAppPolicyFromIdentityRequest |
setPolicyNames(String policyNames) |
@NameInMap(value="AppId") public String appId
The ID of the application. This parameter is optional when the PolicyNames parameter is set to VODAppAdministratorAccess. This parameter is required when the PolicyNames parameter is set to other values.
* Default value: **app-1000000**.
* For more information, see [Overview](~~113600~~).
@NameInMap(value="IdentityName") public String identityName
The name of the identity.
* Specifies the ID of the RAM user when the IdentityType parameter is set to RamUser.
* Specifies the name of the RAM role when the IdentityType parameter is set to RamRole.
@NameInMap(value="IdentityType") public String identityType
The type of the identity. Valid values:
* **RamUser**: a RAM user.
* **RamRole**: a RAM role.
@NameInMap(value="PolicyNames") public String policyNames
The name of the policy. Separate multiple policies with commas (,). Only system policies are supported.
* **VODAppFullAccess**: authorizes an identity to manage all resources in an application.
* **VODAppReadOnlyAccess**: authorizes an identity to access all resources in an application in read-only mode.
* **VODAppAdministratorAccess**: assigns the application administrator role to an identity.
public static DetachAppPolicyFromIdentityRequest build(Map<String,?> map) throws Exception
Exceptionpublic DetachAppPolicyFromIdentityRequest setAppId(String appId)
public String getAppId()
public DetachAppPolicyFromIdentityRequest setIdentityName(String identityName)
public String getIdentityName()
public DetachAppPolicyFromIdentityRequest setIdentityType(String identityType)
public String getIdentityType()
public DetachAppPolicyFromIdentityRequest setPolicyNames(String policyNames)
public String getPolicyNames()
Copyright © 2024. All rights reserved.