Interface ProgrammaticAccessDetails.Builder

  • Method Details

    • accessKeyId

      ProgrammaticAccessDetails.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

      ProgrammaticAccessDetails.Builder secretAccessKey(String secretAccessKey)

      The secret access key for the temporary credentials. Treat this value as a secret.

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

      ProgrammaticAccessDetails.Builder sessionToken(String sessionToken)

      The session token that you must include along with the access key ID and secret access key when you make requests with the temporary credentials.

      Parameters:
      sessionToken - The session token that you must include along with the access key ID and secret access key when you make requests with the temporary credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      The date and time when the temporary credentials expire, after which they can no longer be used.

      Parameters:
      expiresAt - The date and time when the temporary credentials expire, after which they can no longer be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.