Class SecretsManagerCredentials
- java.lang.Object
-
- com.amazonaws.athena.connector.integ.data.SecretsManagerCredentials
-
public class SecretsManagerCredentials extends Object
Holds the credentials retrieved from SecretsManager.
-
-
Constructor Summary
Constructors Constructor Description SecretsManagerCredentials(String secretName, String username, String password, String arn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArn()
Public accessor to the arn associated with the secret retrieved from SecretsManager.String
getPassword()
Public accessor to the password retrieved from SecretsManager.String
getSecretName()
Public accessor to the secret name used to retrieve the credentials from SecretsManager.String
getUsername()
Public accessor to the username retrieved from SecretsManager.
-
-
-
Method Detail
-
getSecretName
public String getSecretName()
Public accessor to the secret name used to retrieve the credentials from SecretsManager.- Returns:
- Secret name (String).
-
getUsername
public String getUsername()
Public accessor to the username retrieved from SecretsManager.- Returns:
- Username (String).
-
getPassword
public String getPassword()
Public accessor to the password retrieved from SecretsManager.- Returns:
- Password (String).
-
getArn
public String getArn()
Public accessor to the arn associated with the secret retrieved from SecretsManager.- Returns:
- Arn (String).
-
-