Class ConstantAwsCredentialProvider
- java.lang.Object
-
- be.wegenenverkeer.rxhttpclient.aws.ConstantAwsCredentialProvider
-
- All Implemented Interfaces:
AwsCredentialsProvider
public class ConstantAwsCredentialProvider extends java.lang.Object implements AwsCredentialsProvider
AnAwsCredentialsProviderthat always returns the credentials provided during instance construction Created by Karel Maesen, Geovise BVBA on 06/06/16.
-
-
Field Summary
Fields Modifier and Type Field Description AwsCredentialsconstantCredentials
-
Constructor Summary
Constructors Constructor Description ConstantAwsCredentialProvider(java.lang.String keyId, java.lang.String secretKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsCredentialsgetAwsCredentials()Returns the AwsCredentials for this provider
-
-
-
Field Detail
-
constantCredentials
public final AwsCredentials constantCredentials
-
-
Method Detail
-
getAwsCredentials
public AwsCredentials getAwsCredentials()
Description copied from interface:AwsCredentialsProviderReturns the AwsCredentials for this provider- Specified by:
getAwsCredentialsin interfaceAwsCredentialsProvider- Returns:
- the AwsCredentials
-
-