public class GetCallerIdentityResponse extends AbstractModel
| Constructor and Description | 
|---|
| GetCallerIdentityResponse() | 
| GetCallerIdentityResponse(GetCallerIdentityResponse 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 | getAccountId()Get Root account UIN of the current caller. | 
| String | getArn()Get ARN of the current caller. | 
| String | getPrincipalId()Get Account UIN. | 
| String | getRequestId()Get The unique request ID, which is returned for each request. | 
| String | getType()Get Identity type. | 
| String | getUserId()Get User ID. | 
| void | setAccountId(String AccountId)Set Root account UIN of the current caller. | 
| void | setArn(String Arn)Set ARN of the current caller. | 
| void | setPrincipalId(String PrincipalId)Set Account UIN. | 
| void | setRequestId(String RequestId)Set The unique request ID, which is returned for each request. | 
| void | setType(String Type)Set Identity type. | 
| void | setUserId(String UserId)Set User 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, toJsonStringpublic GetCallerIdentityResponse()
public GetCallerIdentityResponse(GetCallerIdentityResponse source)
public String getArn()
public void setArn(String Arn)
Arn - ARN of the current caller.public String getAccountId()
public void setAccountId(String AccountId)
AccountId - Root account UIN of the current caller.public String getUserId()
public void setUserId(String UserId)
UserId - User ID.
1. If the caller is a Tencent Cloud account, the UIN of the current account is returned.
2. If the caller is a role, `roleId:roleSessionName` is returned.
3. If the caller is a federated user, `uin:federatedUserName` is returned.public String getPrincipalId()
public void setPrincipalId(String PrincipalId)
PrincipalId - Account UIN.
1. If the caller is a Tencent Cloud account, the UIN of the current account is returned.
2. If the caller is a role, the UIN of the account that applies for the role is returned.public String getType()
public void setType(String Type)
Type - Identity type.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2022. All rights reserved.