public class GetFederationTokenRequest extends AbstractModel
Constructor and Description |
---|
GetFederationTokenRequest() |
Modifier and Type | Method and Description |
---|---|
Integer |
getDurationSeconds()
获取指定临时证书的有效期,单位:秒,默认1800秒,最长可设定有效期为7200秒
|
String |
getName()
获取联合身份用户昵称
|
String |
getPolicy()
获取策略描述
注意:
1、policy 需要做 urlencode(如果通过 GET 方法请求云 API,发送请求前,所有参数都需要按照云 API 规范再 urlencode 一次)。
2、策略语法参照 CAM 策略语法。
3、策略中不能包含 principal 元素。
|
void |
setDurationSeconds(Integer DurationSeconds)
设置指定临时证书的有效期,单位:秒,默认1800秒,最长可设定有效期为7200秒
|
void |
setName(String Name)
设置联合身份用户昵称
|
void |
setPolicy(String Policy)
设置策略描述
注意:
1、policy 需要做 urlencode(如果通过 GET 方法请求云 API,发送请求前,所有参数都需要按照云 API 规范再 urlencode 一次)。
2、策略语法参照 CAM 策略语法。
3、策略中不能包含 principal 元素。
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getName()
public void setName(String Name)
Name
- 联合身份用户昵称public String getPolicy()
public void setPolicy(String Policy)
Policy
- 策略描述
注意:
1、policy 需要做 urlencode(如果通过 GET 方法请求云 API,发送请求前,所有参数都需要按照云 API 规范再 urlencode 一次)。
2、策略语法参照 CAM 策略语法。
3、策略中不能包含 principal 元素。public Integer getDurationSeconds()
public void setDurationSeconds(Integer DurationSeconds)
DurationSeconds
- 指定临时证书的有效期,单位:秒,默认1800秒,最长可设定有效期为7200秒Copyright © 2019. All rights reserved.