public class BasicSessionCredentials extends Object implements AWSSessionCredentials
| Constructor and Description |
|---|
BasicSessionCredentials(String awsAccessKey,
String awsSecretKey,
String sessionToken)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAWSAccessKeyId()
Returns the AWS access key ID for this credentials object.
|
String |
getAWSSecretKey()
Returns the AWS secret access key for this credentials object.
|
String |
getSessionToken() |
public String getAWSAccessKeyId()
AWSCredentialsgetAWSAccessKeyId in interface AWSCredentialspublic String getAWSSecretKey()
AWSCredentialsgetAWSSecretKey in interface AWSCredentialspublic String getSessionToken()
getSessionToken in interface AWSSessionCredentialsCopyright © 2019. All rights reserved.