Interface Credentials.Builder

  • Method Details

    • accessKeyId

      Credentials.Builder accessKeyId(String accessKeyId)

      The access key ID that identifies the temporary security credentials.

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

      Credentials.Builder secretAccessKey(String secretAccessKey)

      The secret access key that can be used to sign requests.

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

      Credentials.Builder sessionToken(String sessionToken)

      The token that users must pass to the service API to use the temporary credentials.

      Parameters:
      sessionToken - The token that users must pass to the service API to use the temporary credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationTime

      Credentials.Builder expirationTime(Instant expirationTime)

      The datetime on which the current credentials expire.

      Parameters:
      expirationTime - The datetime on which the current credentials expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.