Interface MigrationTaskUpdate.Builder

  • Method Details

    • updateDateTime

      MigrationTaskUpdate.Builder updateDateTime(Instant updateDateTime)

      The timestamp for the update.

      Parameters:
      updateDateTime - The timestamp for the update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateType

      MigrationTaskUpdate.Builder updateType(String updateType)

      The type of the update.

      Parameters:
      updateType - The type of the update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateType

      MigrationTaskUpdate.Builder updateType(UpdateType updateType)

      The type of the update.

      Parameters:
      updateType - The type of the update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • migrationTaskState

      MigrationTaskUpdate.Builder migrationTaskState(Task migrationTaskState)
      Sets the value of the MigrationTaskState property for this object.
      Parameters:
      migrationTaskState - The new value for the MigrationTaskState property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationTaskState

      default MigrationTaskUpdate.Builder migrationTaskState(Consumer<Task.Builder> migrationTaskState)
      Sets the value of the MigrationTaskState property for this object. This is a convenience method that creates an instance of the Task.Builder avoiding the need to create one manually via Task.builder().

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

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