Class AwsCredentials


  • public class AwsCredentials
    extends java.lang.Object
    AWS 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.String getAWSAccessKeyId()
      Returns the AWS Key Id
      java.lang.String getAWSSecretKey()
      Returns the AWS secret access key
      java.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 temporary
      boolean isTemporary()
      Returns true if these credentials are temporary
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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