public class AttachUserPolicyRequest extends AbstractModel
header, skipSign
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 Collection of authentication policies
|
String |
getUserId()
Get User ID, which is the same as the sub-user UIN.
|
void |
setPolicySet(Policy[] PolicySet)
Set Collection of authentication policies
|
void |
setUserId(String UserId)
Set User ID, which is the same as the sub-user UIN.
|
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 AttachUserPolicyRequest()
public AttachUserPolicyRequest(AttachUserPolicyRequest source)
public String getUserId()
public void setUserId(String UserId)
UserId
- User ID, which is the same as the sub-user UIN. The CreateUser API is needed to create a user at first. The DescribeUsers API can be used for viewing.public Policy[] getPolicySet()
public void setPolicySet(Policy[] PolicySet)
PolicySet
- Collection of authentication policiesCopyright © 2024. All rights reserved.