Class StaticJdbcCredentialProvider
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.connection.StaticJdbcCredentialProvider
-
- All Implemented Interfaces:
JdbcCredentialProvider
public class StaticJdbcCredentialProvider extends Object implements JdbcCredentialProvider
Static credential provider.
-
-
Constructor Summary
Constructors Constructor Description StaticJdbcCredentialProvider(JdbcCredential jdbcCredential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcCredential
getCredential()
Retrieves credential for database.
-
-
-
Constructor Detail
-
StaticJdbcCredentialProvider
public StaticJdbcCredentialProvider(JdbcCredential jdbcCredential)
- Parameters:
jdbcCredential
- JDBC credential. SeeJdbcCredential
.
-
-
Method Detail
-
getCredential
public JdbcCredential getCredential()
Description copied from interface:JdbcCredentialProvider
Retrieves credential for database.- Specified by:
getCredential
in interfaceJdbcCredentialProvider
- Returns:
- JDBC credential. See
JdbcCredential
.
-
-