Interface TemporaryCredentials.Builder

  • Method Details

    • accessKeyId

      TemporaryCredentials.Builder accessKeyId(String accessKeyId)

      The access key ID for the temporary credentials.

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

      TemporaryCredentials.Builder secretAccessKey(String secretAccessKey)

      The secret key for the temporary credentials.

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

      TemporaryCredentials.Builder sessionToken(String sessionToken)

      The session token for the temporary credentials.

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

      TemporaryCredentials.Builder expiration(Instant expiration)

      The date and time when the temporary credentials expire.

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