public class StaticCredentialsProvider extends Object implements AWSCredentialsProvider
构造器和说明 |
---|
StaticCredentialsProvider(AWSCredentials credentials) |
限定符和类型 | 方法和说明 |
---|---|
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 StaticCredentialsProvider(AWSCredentials credentials)
public AWSCredentials getCredentials()
AWSCredentialsProvider
getCredentials
在接口中 AWSCredentialsProvider
public void refresh()
AWSCredentialsProvider
refresh
在接口中 AWSCredentialsProvider
Copyright © 2016. All rights reserved.