public class AttachRolePolicyRequest extends AbstractModel
Constructor and Description |
---|
AttachRolePolicyRequest() |
AttachRolePolicyRequest(AttachRolePolicyRequest 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 |
getAttachRoleId()
Get Role ID, used to specify a role.
|
String |
getAttachRoleName()
Get Role name, used to specify a role.
|
Long |
getPolicyId()
Get Policy ID.
|
String |
getPolicyName()
Get Policy name.
|
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 |
setPolicyName(String PolicyName)
Set Policy name.
|
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 AttachRolePolicyRequest()
public AttachRolePolicyRequest(AttachRolePolicyRequest source)
public Long getPolicyId()
public void setPolicyId(Long PolicyId)
PolicyId
- Policy ID. Either `PolicyId` or `PolicyName` must be enteredpublic 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`public String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName
- Policy name. Either `PolicyId` or `PolicyName` must be enteredCopyright © 2021. All rights reserved.