public class AddPermissionPolicyToRoleConfigurationRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
AddPermissionPolicyToRoleConfigurationRequest() |
AddPermissionPolicyToRoleConfigurationRequest(AddPermissionPolicyToRoleConfigurationRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getCustomPolicyDocument()
Get Custom policy content, which contains up to 4096 characters.
|
String |
getRoleConfigurationId()
Get Permission configuration ID.
|
PolicyDetail[] |
getRolePolicies()
Get Details of an added system policy.
|
String[] |
getRolePolicyNames()
Get Permission policy name, supporting up to 20 policies, with each policy having a maximum of 32 characters.
|
String |
getRolePolicyType()
Get Permission policy type.
|
String |
getZoneId()
Get Space ID.
|
void |
setCustomPolicyDocument(String CustomPolicyDocument)
Set Custom policy content, which contains up to 4096 characters.
|
void |
setRoleConfigurationId(String RoleConfigurationId)
Set Permission configuration ID.
|
void |
setRolePolicies(PolicyDetail[] RolePolicies)
Set Details of an added system policy.
|
void |
setRolePolicyNames(String[] RolePolicyNames)
Set Permission policy name, supporting up to 20 policies, with each policy having a maximum of 32 characters.
|
void |
setRolePolicyType(String RolePolicyType)
Set Permission policy type.
|
void |
setZoneId(String ZoneId)
Set Space ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AddPermissionPolicyToRoleConfigurationRequest()
public AddPermissionPolicyToRoleConfigurationRequest(AddPermissionPolicyToRoleConfigurationRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Space ID.public String getRoleConfigurationId()
public void setRoleConfigurationId(String RoleConfigurationId)
RoleConfigurationId
- Permission configuration ID.public String getRolePolicyType()
public void setRolePolicyType(String RolePolicyType)
RolePolicyType
- Permission policy type. Valid values: System: system policy, namely the CAM system policy reused; Custom: custom policy, namely the custom policy prepared according to the CAM permission policy syntax and structure.public String[] getRolePolicyNames()
public void setRolePolicyNames(String[] RolePolicyNames)
RolePolicyNames
- Permission policy name, supporting up to 20 policies, with each policy having a maximum of 32 characters. If you need to add a system policy, it is recommended to use the RolePolicies parameter. For custom policies, the array length is up to 1.public PolicyDetail[] getRolePolicies()
public void setRolePolicies(PolicyDetail[] RolePolicies)
RolePolicies
- Details of an added system policy.public String getCustomPolicyDocument()
public void setCustomPolicyDocument(String CustomPolicyDocument)
CustomPolicyDocument
- Custom policy content, which contains up to 4096 characters. When RolePolicyType is Inline, this parameter must be configured. For details, see the permission policy syntax and structure.Copyright © 2025. All rights reserved.