public class Credentials extends AbstractModel
| 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 | getTmpSecretId()Get Temporary credentials key ID, which contains up to 1,024 bytes. | 
| String | getTmpSecretKey()Get Temporary credentials key, which contains up to 1,024 bytes. | 
| String | getToken()Get Token, which contains up to 4,096 bytes depending on the associated policies. | 
| void | setTmpSecretId(String TmpSecretId)Set Temporary credentials key ID, which contains up to 1,024 bytes. | 
| void | setTmpSecretKey(String TmpSecretKey)Set Temporary credentials key, which contains up to 1,024 bytes. | 
| void | setToken(String Token)Set Token, which contains up to 4,096 bytes depending on the associated policies. | 
| 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, toJsonStringpublic Credentials()
public Credentials(Credentials source)
public String getToken()
public void setToken(String Token)
Token - Token, which contains up to 4,096 bytes depending on the associated policies.public String getTmpSecretId()
public void setTmpSecretId(String TmpSecretId)
TmpSecretId - Temporary credentials key ID, which contains up to 1,024 bytes.public String getTmpSecretKey()
public void setTmpSecretKey(String TmpSecretKey)
TmpSecretKey - Temporary credentials key, which contains up to 1,024 bytes.Copyright © 2022. All rights reserved.