Class ModifyInstanceTokenRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcr.v20190924.models.ModifyInstanceTokenRequest
-
public class ModifyInstanceTokenRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyInstanceTokenRequest()
ModifyInstanceTokenRequest(ModifyInstanceTokenRequest 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 String
getDesc()
Get 访问凭证描述Boolean
getEnable()
Get 启用或禁用实例长期访问凭证Long
getModifyFlag()
Get 1为修改描述 2为操作启动禁用,默认值为2String
getRegistryId()
Get 实例 IDString
getTokenId()
Get 实例长期访问凭证 IDvoid
setDesc(String Desc)
Set 访问凭证描述void
setEnable(Boolean Enable)
Set 启用或禁用实例长期访问凭证void
setModifyFlag(Long ModifyFlag)
Set 1为修改描述 2为操作启动禁用,默认值为2void
setRegistryId(String RegistryId)
Set 实例 IDvoid
setTokenId(String TokenId)
Set 实例长期访问凭证 IDvoid
toMap(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
-
ModifyInstanceTokenRequest
public ModifyInstanceTokenRequest()
-
ModifyInstanceTokenRequest
public ModifyInstanceTokenRequest(ModifyInstanceTokenRequest 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
-
getTokenId
public String getTokenId()
Get 实例长期访问凭证 ID- Returns:
- TokenId 实例长期访问凭证 ID
-
setTokenId
public void setTokenId(String TokenId)
Set 实例长期访问凭证 ID- Parameters:
TokenId
- 实例长期访问凭证 ID
-
getRegistryId
public String getRegistryId()
Get 实例 ID- Returns:
- RegistryId 实例 ID
-
setRegistryId
public void setRegistryId(String RegistryId)
Set 实例 ID- Parameters:
RegistryId
- 实例 ID
-
getEnable
public Boolean getEnable()
Get 启用或禁用实例长期访问凭证- Returns:
- Enable 启用或禁用实例长期访问凭证
-
setEnable
public void setEnable(Boolean Enable)
Set 启用或禁用实例长期访问凭证- Parameters:
Enable
- 启用或禁用实例长期访问凭证
-
getDesc
public String getDesc()
Get 访问凭证描述- Returns:
- Desc 访问凭证描述
-
setDesc
public void setDesc(String Desc)
Set 访问凭证描述- Parameters:
Desc
- 访问凭证描述
-
getModifyFlag
public Long getModifyFlag()
Get 1为修改描述 2为操作启动禁用,默认值为2- Returns:
- ModifyFlag 1为修改描述 2为操作启动禁用,默认值为2
-
setModifyFlag
public void setModifyFlag(Long ModifyFlag)
Set 1为修改描述 2为操作启动禁用,默认值为2- Parameters:
ModifyFlag
- 1为修改描述 2为操作启动禁用,默认值为2
-
-