Interface AwsCredentials.Builder

  • Method Details

    • accessKeyId

      AwsCredentials.Builder accessKeyId(String accessKeyId)

      The AWS access key ID.

      Parameters:
      accessKeyId - The AWS access key ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secretAccessKey

      AwsCredentials.Builder secretAccessKey(String secretAccessKey)

      The AWS secret access key.

      Parameters:
      secretAccessKey - The AWS secret access key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionToken

      AwsCredentials.Builder sessionToken(String sessionToken)

      The AWS session token.

      Parameters:
      sessionToken - The AWS session token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiration

      AwsCredentials.Builder expiration(Instant expiration)

      The timestamp when the credentials expire.

      Parameters:
      expiration - The timestamp when the credentials expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.