public class STSAssumeRoleWithWebIdentitySessionCredentialsProvider extends Object implements AWSSessionCredentialsProvider, Closeable
Modifier and Type | Class and Description |
---|---|
static class |
STSAssumeRoleWithWebIdentitySessionCredentialsProvider.Builder
Provides a builder pattern to avoid combinatorial explosion of the number of parameters that
are passed to constructors.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Shut down this credentials provider, shutting down the thread that performs asynchronous credential refreshing.
|
AWSSessionCredentials |
getCredentials() |
void |
refresh() |
public AWSSessionCredentials getCredentials()
getCredentials
in interface AWSCredentialsProvider
getCredentials
in interface AWSSessionCredentialsProvider
public void refresh()
refresh
in interface AWSCredentialsProvider
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All rights reserved.