public class CreateInstanceTokenResponse extends AbstractModel
Constructor and Description |
---|
CreateInstanceTokenResponse() |
CreateInstanceTokenResponse(CreateInstanceTokenResponse 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 |
---|---|
Long |
getExpTime()
Get Expiration timestamp of access credential.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getToken()
Get Access credential
|
String |
getTokenId()
Get Token ID of long-term access credential.
|
String |
getUsername()
Get Username
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setExpTime(Long ExpTime)
Set Expiration timestamp of access credential.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setToken(String Token)
Set Access credential
|
void |
setTokenId(String TokenId)
Set Token ID of long-term access credential.
|
void |
setUsername(String Username)
Set Username
Note: this field may return `null`, indicating that no valid value can be found.
|
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 CreateInstanceTokenResponse()
public CreateInstanceTokenResponse(CreateInstanceTokenResponse source)
public String getUsername()
public void setUsername(String Username)
Username
- Username
Note: this field may return `null`, indicating that no valid value can be found.public String getToken()
public void setToken(String Token)
Token
- Access credentialpublic Long getExpTime()
public void setExpTime(Long ExpTime)
ExpTime
- Expiration timestamp of access credential. It is a string of numbers without unit.public String getTokenId()
public void setTokenId(String TokenId)
TokenId
- Token ID of long-term access credential. It is not available to temporary access credential.
Note: this field may return `null`, indicating that no valid value can be found.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2023. All rights reserved.