@Deprecated public class StaticCredentialsProvider extends Object implements AWSCredentialsProvider
Constructor and Description |
---|
StaticCredentialsProvider(AWSCredentials credentials)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AWSCredentials |
getCredentials()
Deprecated.
Returns AWSCredentials which the caller can use to authorize an AWS request.
|
void |
refresh()
Deprecated.
Forces this credentials provider to refresh its credentials.
|
public StaticCredentialsProvider(AWSCredentials credentials)
public AWSCredentials getCredentials()
AWSCredentialsProvider
getCredentials
in interface AWSCredentialsProvider
public void refresh()
AWSCredentialsProvider
refresh
in interface AWSCredentialsProvider
Copyright © 2024. All rights reserved.