Class Credentials
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.sts.v20180813.models.Credentials
-
public class Credentials extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description Credentials()Credentials(Credentials 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTmpSecretId()Get 临时证书密钥ID。最长不超过1024字节。StringgetTmpSecretKey()Get 临时证书密钥Key。最长不超过1024字节。StringgetToken()Get token。token长度和绑定的策略有关,最长不超过4096字节。voidsetTmpSecretId(String TmpSecretId)Set 临时证书密钥ID。最长不超过1024字节。voidsetTmpSecretKey(String TmpSecretKey)Set 临时证书密钥Key。最长不超过1024字节。voidsetToken(String Token)Set token。token长度和绑定的策略有关,最长不超过4096字节。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Credentials
public Credentials()
-
Credentials
public Credentials(Credentials 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.
-
-
Method Detail
-
getToken
public String getToken()
Get token。token长度和绑定的策略有关,最长不超过4096字节。- Returns:
- Token token。token长度和绑定的策略有关,最长不超过4096字节。
-
setToken
public void setToken(String Token)
Set token。token长度和绑定的策略有关,最长不超过4096字节。- Parameters:
Token- token。token长度和绑定的策略有关,最长不超过4096字节。
-
getTmpSecretId
public String getTmpSecretId()
Get 临时证书密钥ID。最长不超过1024字节。- Returns:
- TmpSecretId 临时证书密钥ID。最长不超过1024字节。
-
setTmpSecretId
public void setTmpSecretId(String TmpSecretId)
Set 临时证书密钥ID。最长不超过1024字节。- Parameters:
TmpSecretId- 临时证书密钥ID。最长不超过1024字节。
-
getTmpSecretKey
public String getTmpSecretKey()
Get 临时证书密钥Key。最长不超过1024字节。- Returns:
- TmpSecretKey 临时证书密钥Key。最长不超过1024字节。
-
setTmpSecretKey
public void setTmpSecretKey(String TmpSecretKey)
Set 临时证书密钥Key。最长不超过1024字节。- Parameters:
TmpSecretKey- 临时证书密钥Key。最长不超过1024字节。
-
-