@Immutable public class ProfileStaticCredentialsProvider extends Object implements AWSCredentialsProvider
BasicProfile. Does validation that both access key and
 secret key exists and are non empty.| Constructor and Description | 
|---|
| ProfileStaticCredentialsProvider(BasicProfile profile) | 
| Modifier and Type | Method and Description | 
|---|---|
| AWSCredentials | getCredentials()Returns AWSCredentials which the caller can use to authorize an AWS request. | 
| void | refresh()Forces this credentials provider to refresh its credentials. | 
public ProfileStaticCredentialsProvider(BasicProfile profile)
public AWSCredentials getCredentials()
AWSCredentialsProvidergetCredentials in interface AWSCredentialsProviderpublic void refresh()
AWSCredentialsProviderrefresh in interface AWSCredentialsProvider