public class AttachRolePolicyRequest extends AbstractModel
Constructor and Description |
---|
AttachRolePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAttachRoleId()
Get Role ID, used to specify a role.
|
String |
getAttachRoleName()
Get Role name, used to specify a role.
|
Long |
getPolicyId()
Get Policy ID
|
void |
setAttachRoleId(String AttachRoleId)
Set Role ID, used to specify a role.
|
void |
setAttachRoleName(String AttachRoleName)
Set Role name, used to specify a role.
|
void |
setPolicyId(Long PolicyId)
Set Policy ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Long getPolicyId()
public void setPolicyId(Long PolicyId)
PolicyId
- Policy IDpublic String getAttachRoleId()
public void setAttachRoleId(String AttachRoleId)
AttachRoleId
- Role ID, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`public String getAttachRoleName()
public void setAttachRoleName(String AttachRoleName)
AttachRoleName
- Role name, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`Copyright © 2020. All rights reserved.