Interface UserAccessResultItem.Builder

  • Method Details

    • app

      The name of the application.

      Parameters:
      app - The name of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tenantId

      The ID of the application tenant.

      Parameters:
      tenantId - The ID of the application tenant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tenantDisplayName

      UserAccessResultItem.Builder tenantDisplayName(String tenantDisplayName)

      The display name of the tenant.

      Parameters:
      tenantDisplayName - The display name of the tenant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskId

      The unique ID of the task.

      Parameters:
      taskId - The unique ID of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resultStatus

      UserAccessResultItem.Builder resultStatus(String resultStatus)

      The status of the user access result item.

      The following states are possible:

      • IN_PROGRESS: The user access task is in progress.

      • COMPLETED: The user access task completed successfully.

      • FAILED: The user access task failed.

      • EXPIRED: The user access task expired.

      Parameters:
      resultStatus - The status of the user access result item.

      The following states are possible:

      • IN_PROGRESS: The user access task is in progress.

      • COMPLETED: The user access task completed successfully.

      • FAILED: The user access task failed.

      • EXPIRED: The user access task expired.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resultStatus

      UserAccessResultItem.Builder resultStatus(ResultStatus resultStatus)

      The status of the user access result item.

      The following states are possible:

      • IN_PROGRESS: The user access task is in progress.

      • COMPLETED: The user access task completed successfully.

      • FAILED: The user access task failed.

      • EXPIRED: The user access task expired.

      Parameters:
      resultStatus - The status of the user access result item.

      The following states are possible:

      • IN_PROGRESS: The user access task is in progress.

      • COMPLETED: The user access task completed successfully.

      • FAILED: The user access task failed.

      • EXPIRED: The user access task expired.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • email

      The email address of the target user.

      Parameters:
      email - The email address of the target user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userId

      The unique ID of user.

      Parameters:
      userId - The unique ID of user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userFullName

      UserAccessResultItem.Builder userFullName(String userFullName)

      The full name of the user.

      Parameters:
      userFullName - The full name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userFirstName

      UserAccessResultItem.Builder userFirstName(String userFirstName)

      The first name of the user.

      Parameters:
      userFirstName - The first name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userLastName

      UserAccessResultItem.Builder userLastName(String userLastName)

      The last name of the user.

      Parameters:
      userLastName - The last name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userStatus

      UserAccessResultItem.Builder userStatus(String userStatus)

      The status of the user returned by the application.

      Parameters:
      userStatus - The status of the user returned by the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskError

      Contains information about an error returned from a user access task.

      Parameters:
      taskError - Contains information about an error returned from a user access task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskError

      Contains information about an error returned from a user access task.

      This is a convenience method that creates an instance of the TaskError.Builder avoiding the need to create one manually via TaskError.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taskError(TaskError).

      Parameters:
      taskError - a consumer that will call methods on TaskError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: