Interface Credentials.Builder

    • Method Detail

      • accessKeyId

        Credentials.Builder accessKeyId​(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.
      • secretKey

        Credentials.Builder secretKey​(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.
      • sessionToken

        Credentials.Builder sessionToken​(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.
      • expiration

        Credentials.Builder expiration​(Instant 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.