public class GetFederationTokenRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
GetFederationTokenRequest() |
GetFederationTokenRequest(GetFederationTokenRequest 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 |
---|---|
Long |
getDurationSeconds()
Get The validity period of temporary credentials in seconds.
|
String |
getName()
Get The customizable name of the caller, consisting of letters
|
String |
getPolicy()
Get Policy description
Note:
1.
|
void |
setDurationSeconds(Long DurationSeconds)
Set The validity period of temporary credentials in seconds.
|
void |
setName(String Name)
Set The customizable name of the caller, consisting of letters
|
void |
setPolicy(String Policy)
Set Policy description
Note:
1.
|
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 GetFederationTokenRequest()
public GetFederationTokenRequest(GetFederationTokenRequest source)
public String getName()
public void setName(String Name)
Name
- The customizable name of the caller, consisting of letterspublic String getPolicy()
public void setPolicy(String Policy)
Policy
- Policy description
Note:
1. The policy needs to be URL-encoded (if you request a TencentCloud API through the GET method, all parameters must be URL-encoded again in accordance with [Signature v3](https://intl.cloud.tencent.com/document/api/598/33159?from_cn_redirect=1#1.-.E6.8B.BC.E6.8E.A5.E8.A7.84.E8.8C.83.E8.AF.B7.E6.B1.82.E4.B8.B2) before the request is sent).
2. For the policy syntax, please see CAM's [Syntax Logic](https://intl.cloud.tencent.com/document/product/598/10603?from_cn_redirect=1).
3. The policy cannot contain the `principal` element.public Long getDurationSeconds()
public void setDurationSeconds(Long DurationSeconds)
DurationSeconds
- The validity period of temporary credentials in seconds. Default value: 1,800s. Maximum value for a root account: 7,200s. Maximum value for a sub-account: 129,600s.Copyright © 2024. All rights reserved.