public class Credentials extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
Credentials()  | 
Credentials(Credentials 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 | 
getAccessKeyId()
Get Access Key ID. 
 | 
String | 
getExpiration()
Get The expiration time of the credentials. 
 | 
String | 
getSecretAccessKey()
Get Secret Access Key. 
 | 
String | 
getSessionToken()
Get The session token length depends on the binding policy and is no longer than 4096 bytes. 
 | 
void | 
setAccessKeyId(String AccessKeyId)
Set Access Key ID. 
 | 
void | 
setExpiration(String Expiration)
Set The expiration time of the credentials. 
 | 
void | 
setSecretAccessKey(String SecretAccessKey)
Set Secret Access Key. 
 | 
void | 
setSessionToken(String SessionToken)
Set The session token length depends on the binding policy and is no longer than 4096 bytes. 
 | 
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 Credentials()
public Credentials(Credentials source)
public String getAccessKeyId()
public void setAccessKeyId(String AccessKeyId)
AccessKeyId - Access Key ID.public String getSecretAccessKey()
public void setSecretAccessKey(String SecretAccessKey)
SecretAccessKey - Secret Access Key.public String getSessionToken()
public void setSessionToken(String SessionToken)
SessionToken - The session token length depends on the binding policy and is no longer than 4096 bytes.public String getExpiration()
public void setExpiration(String Expiration)
Expiration - The expiration time of the credentials.Copyright © 2025. All rights reserved.