Class CosCredentials
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tsf.v20180326.models.CosCredentials
-
public class CosCredentials extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CosCredentials()CosCredentials(CosCredentials 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 StringgetDomain()Get 所在域 注意:此字段可能返回 null,表示取不到有效值。LonggetExpiredTime()Get 过期时间 注意:此字段可能返回 null,表示取不到有效值。StringgetSessionToken()Get 会话Token 注意:此字段可能返回 null,表示取不到有效值。StringgetTmpAppId()Get 临时应用ID 注意:此字段可能返回 null,表示取不到有效值。StringgetTmpSecretId()Get 临时调用者身份ID 注意:此字段可能返回 null,表示取不到有效值。StringgetTmpSecretKey()Get 临时密钥 注意:此字段可能返回 null,表示取不到有效值。voidsetDomain(String Domain)Set 所在域 注意:此字段可能返回 null,表示取不到有效值。voidsetExpiredTime(Long ExpiredTime)Set 过期时间 注意:此字段可能返回 null,表示取不到有效值。voidsetSessionToken(String SessionToken)Set 会话Token 注意:此字段可能返回 null,表示取不到有效值。voidsetTmpAppId(String TmpAppId)Set 临时应用ID 注意:此字段可能返回 null,表示取不到有效值。voidsetTmpSecretId(String TmpSecretId)Set 临时调用者身份ID 注意:此字段可能返回 null,表示取不到有效值。voidsetTmpSecretKey(String TmpSecretKey)Set 临时密钥 注意:此字段可能返回 null,表示取不到有效值。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
-
CosCredentials
public CosCredentials()
-
CosCredentials
public CosCredentials(CosCredentials 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
-
getSessionToken
public String getSessionToken()
Get 会话Token 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SessionToken 会话Token 注意:此字段可能返回 null,表示取不到有效值。
-
setSessionToken
public void setSessionToken(String SessionToken)
Set 会话Token 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SessionToken- 会话Token 注意:此字段可能返回 null,表示取不到有效值。
-
getTmpAppId
public String getTmpAppId()
Get 临时应用ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TmpAppId 临时应用ID 注意:此字段可能返回 null,表示取不到有效值。
-
setTmpAppId
public void setTmpAppId(String TmpAppId)
Set 临时应用ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TmpAppId- 临时应用ID 注意:此字段可能返回 null,表示取不到有效值。
-
getTmpSecretId
public String getTmpSecretId()
Get 临时调用者身份ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TmpSecretId 临时调用者身份ID 注意:此字段可能返回 null,表示取不到有效值。
-
setTmpSecretId
public void setTmpSecretId(String TmpSecretId)
Set 临时调用者身份ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TmpSecretId- 临时调用者身份ID 注意:此字段可能返回 null,表示取不到有效值。
-
getTmpSecretKey
public String getTmpSecretKey()
Get 临时密钥 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TmpSecretKey 临时密钥 注意:此字段可能返回 null,表示取不到有效值。
-
setTmpSecretKey
public void setTmpSecretKey(String TmpSecretKey)
Set 临时密钥 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TmpSecretKey- 临时密钥 注意:此字段可能返回 null,表示取不到有效值。
-
getExpiredTime
public Long getExpiredTime()
Get 过期时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ExpiredTime 过期时间 注意:此字段可能返回 null,表示取不到有效值。
-
setExpiredTime
public void setExpiredTime(Long ExpiredTime)
Set 过期时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ExpiredTime- 过期时间 注意:此字段可能返回 null,表示取不到有效值。
-
getDomain
public String getDomain()
Get 所在域 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Domain 所在域 注意:此字段可能返回 null,表示取不到有效值。
-
setDomain
public void setDomain(String Domain)
Set 所在域 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Domain- 所在域 注意:此字段可能返回 null,表示取不到有效值。
-
-