public class AWSCredentials extends Object
Constructor and Description |
---|
AWSCredentials(String awsServiceName,
String awsRegion,
String awsAccessKey,
String awsSecretKey)
Creates a new AWSCredentials instance
|
Modifier and Type | Method and Description |
---|---|
String |
getAwsAccessKey()
Getter method to access the AWS access key defined during the connection setup.
|
String |
getAwsRegion()
Getter method to access the AWS region id defined during the connection setup.
|
String |
getAwsSecretKey()
Getter method to access the AWS secret key defined during the connection setup.
|
String |
getAwsServiceName()
Getter method to access the AWS service name defined for the connector.
|
public AWSCredentials(String awsServiceName, String awsRegion, String awsAccessKey, String awsSecretKey)
awsServiceName
- the AWS service nameawsRegion
- an AWS region where the account resource was createdawsAccessKey
- the AWS Access Key for the account credentialsawsSecretKey
- the AWS Secret Key for the account credentialspublic String getAwsAccessKey()
public String getAwsSecretKey()
public String getAwsRegion()
public String getAwsServiceName()