Class CreateInstanceTokenRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcr.v20190924.models.CreateInstanceTokenRequest
-
public class CreateInstanceTokenRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateInstanceTokenRequest()CreateInstanceTokenRequest(CreateInstanceTokenRequest 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 StringgetDesc()Get 长期访问凭证描述信息StringgetRegistryId()Get 实例IdStringgetTokenType()Get 访问凭证类型,longterm 为长期访问凭证,temp 为临时访问凭证,默认是临时访问凭证,有效期1小时voidsetDesc(String Desc)Set 长期访问凭证描述信息voidsetRegistryId(String RegistryId)Set 实例IdvoidsetTokenType(String TokenType)Set 访问凭证类型,longterm 为长期访问凭证,temp 为临时访问凭证,默认是临时访问凭证,有效期1小时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
-
CreateInstanceTokenRequest
public CreateInstanceTokenRequest()
-
CreateInstanceTokenRequest
public CreateInstanceTokenRequest(CreateInstanceTokenRequest 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
-
getRegistryId
public String getRegistryId()
Get 实例Id- Returns:
- RegistryId 实例Id
-
setRegistryId
public void setRegistryId(String RegistryId)
Set 实例Id- Parameters:
RegistryId- 实例Id
-
getTokenType
public String getTokenType()
Get 访问凭证类型,longterm 为长期访问凭证,temp 为临时访问凭证,默认是临时访问凭证,有效期1小时- Returns:
- TokenType 访问凭证类型,longterm 为长期访问凭证,temp 为临时访问凭证,默认是临时访问凭证,有效期1小时
-
setTokenType
public void setTokenType(String TokenType)
Set 访问凭证类型,longterm 为长期访问凭证,temp 为临时访问凭证,默认是临时访问凭证,有效期1小时- Parameters:
TokenType- 访问凭证类型,longterm 为长期访问凭证,temp 为临时访问凭证,默认是临时访问凭证,有效期1小时
-
getDesc
public String getDesc()
Get 长期访问凭证描述信息- Returns:
- Desc 长期访问凭证描述信息
-
setDesc
public void setDesc(String Desc)
Set 长期访问凭证描述信息- Parameters:
Desc- 长期访问凭证描述信息
-
-