@Immutable public final class AwsBasicCredentials extends Object implements AwsCredentials
For more details on AWS access keys, see: http://docs.amazonwebservices.com/AWSSecurityCredentials/1.0/AboutAWSCredentials.html#AccessKeys
AwsCredentialsProvider| Modifier and Type | Method and Description | 
|---|---|
String | 
accessKeyId()
Retrieve the AWS access key, used to identify the user interacting with AWS. 
 | 
static AwsBasicCredentials | 
create(String accessKeyId,
      String secretAccessKey)
Constructs a new credentials object, with the specified AWS access key, AWS secret key and AWS session token. 
 | 
boolean | 
equals(Object o)  | 
int | 
hashCode()  | 
String | 
secretAccessKey()
Retrieve the AWS secret access key, used to authenticate the user interacting with AWS. 
 | 
String | 
toString()  | 
public static AwsBasicCredentials create(String accessKeyId, String secretAccessKey)
accessKeyId - The AWS access key, used to identify the user interacting with AWS.secretAccessKey - The AWS secret access key, used to authenticate the user interacting with AWS.public String accessKeyId()
accessKeyId in interface AwsCredentialspublic String secretAccessKey()
secretAccessKey in interface AwsCredentialsCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.