public class CreateInstanceTokenRequest extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getDesc()
Get Description of the long-term access credential
|
String |
getRegistryId()
Get Instance ID
|
String |
getTokenType()
Get Access credential type.
|
void |
setDesc(String Desc)
Set Description of the long-term access credential
|
void |
setRegistryId(String RegistryId)
Set Instance ID
|
void |
setTokenType(String TokenType)
Set Access credential type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateInstanceTokenRequest()
public CreateInstanceTokenRequest(CreateInstanceTokenRequest source)
public String getRegistryId()
public void setRegistryId(String RegistryId)
RegistryId
- Instance IDpublic String getTokenType()
public void setTokenType(String TokenType)
TokenType
- Access credential type. Values: `longterm` and `temp` (default, valid for one hour)public String getDesc()
public void setDesc(String Desc)
Desc
- Description of the long-term access credentialCopyright © 2024. All rights reserved.