public class BasicAWSCredentials extends Object implements AWSCredentials
Constructor and Description |
---|
BasicAWSCredentials(String accessKey,
String secretKey)
Constructs a new BasicAWSCredentials object, with the specified AWS
access key and AWS secret key.
|
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.
|
public String getAWSAccessKeyId()
AWSCredentials
getAWSAccessKeyId
in interface AWSCredentials
public String getAWSSecretKey()
AWSCredentials
getAWSSecretKey
in interface AWSCredentials
Copyright © 2019. All rights reserved.