Interface ListMigrationTasksResponse.Builder

  • Method Details

    • nextToken

      If there are more migration tasks than the max result, return the next token to be passed to the next call as a bookmark of where to start from.

      Parameters:
      nextToken - If there are more migration tasks than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationTaskSummaryList

      ListMigrationTasksResponse.Builder migrationTaskSummaryList(Collection<MigrationTaskSummary> migrationTaskSummaryList)

      Lists the migration task's summary which includes: MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and the UpdateDateTime for each task.

      Parameters:
      migrationTaskSummaryList - Lists the migration task's summary which includes: MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and the UpdateDateTime for each task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationTaskSummaryList

      ListMigrationTasksResponse.Builder migrationTaskSummaryList(MigrationTaskSummary... migrationTaskSummaryList)

      Lists the migration task's summary which includes: MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and the UpdateDateTime for each task.

      Parameters:
      migrationTaskSummaryList - Lists the migration task's summary which includes: MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and the UpdateDateTime for each task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationTaskSummaryList

      ListMigrationTasksResponse.Builder migrationTaskSummaryList(Consumer<MigrationTaskSummary.Builder>... migrationTaskSummaryList)

      Lists the migration task's summary which includes: MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and the UpdateDateTime for each task.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to migrationTaskSummaryList(List<MigrationTaskSummary>).

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