public class DefaultBceSessionCredentials extends DefaultBceCredentials implements BceSessionCredentials
| Constructor and Description |
|---|
DefaultBceSessionCredentials(String accessKeyId,
String secretKey,
String sessionToken)
Constructs a new Credentials object, with the specified access key id, secret key and session token.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSessionToken()
Returns the session token for this credentials object.
|
getAccessKeyId, getSecretKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccessKeyId, getSecretKeypublic DefaultBceSessionCredentials(String accessKeyId, String secretKey, String sessionToken)
accessKeyId - the BCE access key id.secretKey - the BCE secret access key.sessionToken - the BCE session token.IllegalArgumentException - The accessKeyId, secretKey and sessionToken should not be null or empty.public String getSessionToken()
BceSessionCredentialsgetSessionToken in interface BceSessionCredentialsBceSessionCredentials.getSessionToken()Copyright © 2022. All rights reserved.