public class AssumeRoleRequest extends AbstractModel
Constructor and Description |
---|
AssumeRoleRequest() |
Modifier and Type | Method and Description |
---|---|
Integer |
getDurationSeconds()
获取指定临时证书的有效期,单位:秒,默认 1800 秒,最长可设定有效期为 7200 秒
|
String |
getRoleArn()
获取角色的资源描述。例如:qcs::cam::uin/12345678:role/4611686018427397919、qcs::cam::uin/12345678:roleName/testRoleName
|
String |
getRoleSessionName()
获取临时会话名称,由用户自定义名称
|
void |
setDurationSeconds(Integer DurationSeconds)
设置指定临时证书的有效期,单位:秒,默认 1800 秒,最长可设定有效期为 7200 秒
|
void |
setRoleArn(String RoleArn)
设置角色的资源描述。例如:qcs::cam::uin/12345678:role/4611686018427397919、qcs::cam::uin/12345678:roleName/testRoleName
|
void |
setRoleSessionName(String RoleSessionName)
设置临时会话名称,由用户自定义名称
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
fromJsonString, getBinaryParams, getMultipartRequestParams, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getRoleArn()
public void setRoleArn(String RoleArn)
RoleArn
- 角色的资源描述。例如:qcs::cam::uin/12345678:role/4611686018427397919、qcs::cam::uin/12345678:roleName/testRoleNamepublic String getRoleSessionName()
public void setRoleSessionName(String RoleSessionName)
RoleSessionName
- 临时会话名称,由用户自定义名称public Integer getDurationSeconds()
public void setDurationSeconds(Integer DurationSeconds)
DurationSeconds
- 指定临时证书的有效期,单位:秒,默认 1800 秒,最长可设定有效期为 7200 秒Copyright © 2019. All rights reserved.