public class BasicAWSCredentials extends java.lang.Object implements AWSCredentials
Constructor and Description |
---|
BasicAWSCredentials(java.lang.String accessKey,
java.lang.String secretKey)
Constructs a new BasicAWSCredentials object, with the specified AWS
access key and AWS secret key.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAWSAccessKeyId()
Returns the AWS access key ID for this credentials object.
|
java.lang.String |
getAWSSecretKey()
Returns the AWS secret access key for this credentials object.
|
public BasicAWSCredentials(java.lang.String accessKey, java.lang.String secretKey)
accessKey
- The AWS access key.secretKey
- The AWS secret access key.public java.lang.String getAWSAccessKeyId()
AWSCredentials
getAWSAccessKeyId
in interface AWSCredentials
public java.lang.String getAWSSecretKey()
AWSCredentials
getAWSSecretKey
in interface AWSCredentials
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.