public class CreateInstanceTokenResponse extends AbstractModel
header, skipSign
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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2024. All rights reserved.