public class GenerateTmpKeyResponse extends AbstractModel
header, skipSign| Constructor and Description |
|---|
GenerateTmpKeyResponse() |
GenerateTmpKeyResponse(GenerateTmpKeyResponse 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 |
|---|---|
Credentials |
getCredentials()
Get Temporary access credentials.
|
Long |
getExpiredTime()
Get Timestamp when the temporary access credentials expire (unit: seconds).
|
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).
|
Long |
getStartTime()
Get Timestamp when the temporary access credentials are obtained (unit: seconds).
|
void |
setCredentials(Credentials Credentials)
Set Temporary access credentials.
|
void |
setExpiredTime(Long ExpiredTime)
Set Timestamp when the temporary access credentials expire (unit: seconds).
|
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 |
setStartTime(Long StartTime)
Set Timestamp when the temporary access credentials are obtained (unit: seconds).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic GenerateTmpKeyResponse()
public GenerateTmpKeyResponse(GenerateTmpKeyResponse source)
public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - Timestamp when the temporary access credentials are obtained (unit: seconds).public Long getExpiredTime()
public void setExpiredTime(Long ExpiredTime)
ExpiredTime - Timestamp when the temporary access credentials expire (unit: seconds).public Credentials getCredentials()
public void setCredentials(Credentials Credentials)
Credentials - Temporary access credentials.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 © 2025. All rights reserved.