|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.auth.BasicAWSCredentials
public class BasicAWSCredentials
Basic implementation of the AWSCredentials interface that allows callers to pass in the AWS access key and secret access in the constructor.
Constructor Summary | |
---|---|
BasicAWSCredentials(String accessKey,
String secretKey)
Constructs a new BasicAWSCredentials object, with the specified AWS access key and AWS secret key. |
Method Summary | |
---|---|
String |
getAWSAccessKeyId()
Returns the AWS access key ID for this credentials object. |
String |
getAWSSecretKey()
Returns the AWS secret access key for this credentials object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicAWSCredentials(String accessKey, String secretKey)
accessKey
- The AWS access key.secretKey
- The AWS secret access key.Method Detail |
---|
public String getAWSAccessKeyId()
AWSCredentials
getAWSAccessKeyId
in interface AWSCredentials
public String getAWSSecretKey()
AWSCredentials
getAWSSecretKey
in interface AWSCredentials
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |