public class GetFederationTokenRequest extends AbstractModel
| 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 Specifies the validity period of 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 Specifies the validity period of 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic 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://cloud.tencent.com/document/api/598/33159#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://cloud.tencent.com/document/product/598/10603).
3. The policy cannot contain the `principal` element.public Long getDurationSeconds()
public void setDurationSeconds(Long DurationSeconds)
DurationSeconds - Specifies the validity period of credentials in seconds. Default value: 1800. Maximum value: 7200Copyright © 2022. All rights reserved.