Interface UserAccessTaskItem.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UserAccessTaskItem.Builder,UserAccessTaskItem>, SdkBuilder<UserAccessTaskItem.Builder,UserAccessTaskItem>, SdkPojo
Enclosing class:
UserAccessTaskItem

public static interface UserAccessTaskItem.Builder extends SdkPojo, CopyableBuilder<UserAccessTaskItem.Builder,UserAccessTaskItem>
  • 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

      UserAccessTaskItem.Builder tenantId(String 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.
    • 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.
    • error

      Error from the task, if any.

      Parameters:
      error - Error from the task, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      Error from the task, if any.

      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 error(TaskError).

      Parameters:
      error - 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: