public final class V1ToV2AwsCredentialProviderAdapter extends Object implements software.amazon.awssdk.auth.credentials.AwsCredentialsProvider, Closeable
AWSCredentialsProvider to the V2 AwsCredentialsProvider interface.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the wrapped provider if it implements Closeable/AutoCloseable.
|
software.amazon.awssdk.auth.credentials.AwsCredentials |
resolveCredentials()
Collect v1 credentials and convert to v2.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic software.amazon.awssdk.auth.credentials.AwsCredentials resolveCredentials()
resolveCredentials in interface software.amazon.awssdk.auth.credentials.AwsCredentialsProviderCredentialInitializationException - if the inner retrieval raised an exceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException - failureCopyright © 2008–2024 Apache Software Foundation. All rights reserved.