Class AwsCredentials
- java.lang.Object
-
- be.wegenenverkeer.rxhttpclient.aws.AwsCredentials
-
public class AwsCredentials extends java.lang.ObjectAWS Credentials to use in request Created by Karel Maesen, Geovise BVBA on 06/06/16.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAWSAccessKeyId()Returns the AWS Key Idjava.lang.StringgetAWSSecretKey()Returns the AWS secret access keyjava.util.Optional<java.time.OffsetDateTime>getExpiration()Returns the optional expiration date.java.util.Optional<java.lang.String>getToken()Returns the optional security token This will be defined if the credentials are temporarybooleanisTemporary()Returns true if these credentials are temporary
-
-
-
Method Detail
-
getAWSAccessKeyId
public java.lang.String getAWSAccessKeyId()
Returns the AWS Key Id- Returns:
- the AWS Key Id
-
getAWSSecretKey
public java.lang.String getAWSSecretKey()
Returns the AWS secret access key- Returns:
- The AWS secret access key
-
isTemporary
public boolean isTemporary()
Returns true if these credentials are temporary- Returns:
- true if these credentials are temporary
-
getExpiration
public java.util.Optional<java.time.OffsetDateTime> getExpiration()
Returns the optional expiration date. This will be defined if the credentials are temporary- Returns:
- the optional expiration date
-
getToken
public java.util.Optional<java.lang.String> getToken()
Returns the optional security token This will be defined if the credentials are temporary- Returns:
- the optional security token
-
-