Class Credentials

    • Constructor Detail

      • Credentials

        public Credentials()
    • Method Detail

      • setAccessKeyId

        public void setAccessKeyId​(String accessKeyId)

        The Access Key portion of the credentials.

        Parameters:
        accessKeyId - The Access Key portion of the credentials.
      • getAccessKeyId

        public String getAccessKeyId()

        The Access Key portion of the credentials.

        Returns:
        The Access Key portion of the credentials.
      • withAccessKeyId

        public Credentials withAccessKeyId​(String accessKeyId)

        The Access Key portion of the credentials.

        Parameters:
        accessKeyId - The Access Key portion of the credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSecretKey

        public void setSecretKey​(String secretKey)

        The Secret Access Key portion of the credentials

        Parameters:
        secretKey - The Secret Access Key portion of the credentials
      • getSecretKey

        public String getSecretKey()

        The Secret Access Key portion of the credentials

        Returns:
        The Secret Access Key portion of the credentials
      • withSecretKey

        public Credentials withSecretKey​(String secretKey)

        The Secret Access Key portion of the credentials

        Parameters:
        secretKey - The Secret Access Key portion of the credentials
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSessionToken

        public void setSessionToken​(String sessionToken)

        The Session Token portion of the credentials

        Parameters:
        sessionToken - The Session Token portion of the credentials
      • getSessionToken

        public String getSessionToken()

        The Session Token portion of the credentials

        Returns:
        The Session Token portion of the credentials
      • withSessionToken

        public Credentials withSessionToken​(String sessionToken)

        The Session Token portion of the credentials

        Parameters:
        sessionToken - The Session Token portion of the credentials
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExpiration

        public void setExpiration​(Date expiration)

        The date at which these credentials will expire.

        Parameters:
        expiration - The date at which these credentials will expire.
      • getExpiration

        public Date getExpiration()

        The date at which these credentials will expire.

        Returns:
        The date at which these credentials will expire.
      • withExpiration

        public Credentials withExpiration​(Date expiration)

        The date at which these credentials will expire.

        Parameters:
        expiration - The date at which these credentials will expire.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object