public class ModifyInstanceTokenRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getDesc()
Get Access credential description
|
Boolean |
getEnable()
Get Whether to enable the long-term access credential of the instance
|
Long |
getModifyFlag()
Get Valid values: 1: Modify the description; 2: Enable/Disable.
|
String |
getRegistryId()
Get Instance ID
|
String |
getTokenId()
Get ID of the long-term access credential of the instance
|
void |
setDesc(String Desc)
Set Access credential description
|
void |
setEnable(Boolean Enable)
Set Whether to enable the long-term access credential of the instance
|
void |
setModifyFlag(Long ModifyFlag)
Set Valid values: 1: Modify the description; 2: Enable/Disable.
|
void |
setRegistryId(String RegistryId)
Set Instance ID
|
void |
setTokenId(String TokenId)
Set ID of the long-term access credential of the instance
|
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, toJsonString
public ModifyInstanceTokenRequest()
public ModifyInstanceTokenRequest(ModifyInstanceTokenRequest source)
public String getTokenId()
public void setTokenId(String TokenId)
TokenId
- ID of the long-term access credential of the instancepublic String getRegistryId()
public void setRegistryId(String RegistryId)
RegistryId
- Instance IDpublic Boolean getEnable()
public void setEnable(Boolean Enable)
Enable
- Whether to enable the long-term access credential of the instancepublic String getDesc()
public void setDesc(String Desc)
Desc
- Access credential descriptionpublic Long getModifyFlag()
public void setModifyFlag(Long ModifyFlag)
ModifyFlag
- Valid values: 1: Modify the description; 2: Enable/Disable. Default value: 2.Copyright © 2023. All rights reserved.