public class AttachUserPolicyRequest extends AbstractModel
Constructor and Description |
---|
AttachUserPolicyRequest() |
AttachUserPolicyRequest(AttachUserPolicyRequest 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 |
---|---|
Policy[] |
getPolicySet()
Get 鉴权策略集合
|
String |
getUserId()
Get 用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。
|
void |
setPolicySet(Policy[] PolicySet)
Set 鉴权策略集合
|
void |
setUserId(String UserId)
Set 用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。
|
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 AttachUserPolicyRequest()
public AttachUserPolicyRequest(AttachUserPolicyRequest source)
public String getUserId()
public void setUserId(String UserId)
UserId
- 用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。public Policy[] getPolicySet()
public void setPolicySet(Policy[] PolicySet)
PolicySet
- 鉴权策略集合Copyright © 2022. All rights reserved.