public class SystemPropertiesCredentialsProvider extends Object implements AWSCredentialsProvider
AWSCredentialsProvider
implementation that provides credentials by
looking at the aws.accessKeyId
and aws.secretKey
Java system properties.构造器和说明 |
---|
SystemPropertiesCredentialsProvider() |
限定符和类型 | 方法和说明 |
---|---|
AWSCredentials |
getCredentials()
Returns AWSCredentials which the caller can use to authorize an AWS request.
|
void |
refresh()
Forces this credentials provider to refresh its credentials.
|
String |
toString() |
public AWSCredentials getCredentials()
AWSCredentialsProvider
getCredentials
在接口中 AWSCredentialsProvider
public void refresh()
AWSCredentialsProvider
refresh
在接口中 AWSCredentialsProvider
Copyright © 2016. All rights reserved.