Interface MigrationTask.Builder

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

public static interface MigrationTask.Builder extends SdkPojo, CopyableBuilder<MigrationTask.Builder,MigrationTask>
  • Method Details

    • progressUpdateStream

      MigrationTask.Builder progressUpdateStream(String progressUpdateStream)

      A name that identifies the vendor of the migration tool being used.

      Parameters:
      progressUpdateStream - A name that identifies the vendor of the migration tool being used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationTaskName

      MigrationTask.Builder migrationTaskName(String migrationTaskName)

      Unique identifier that references the migration task. Do not store personal data in this field.

      Parameters:
      migrationTaskName - Unique identifier that references the migration task. Do not store personal data in this field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • task

      Task object encapsulating task information.

      Parameters:
      task - Task object encapsulating task information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • task

      Task object encapsulating task information.

      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 task(Task).

      Parameters:
      task - 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:
    • updateDateTime

      MigrationTask.Builder updateDateTime(Instant updateDateTime)

      The timestamp when the task was gathered.

      Parameters:
      updateDateTime - The timestamp when the task was gathered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceAttributeList

      MigrationTask.Builder resourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)

      Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.

      Parameters:
      resourceAttributeList - Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceAttributeList

      MigrationTask.Builder resourceAttributeList(ResourceAttribute... resourceAttributeList)

      Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.

      Parameters:
      resourceAttributeList - Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceAttributeList

      MigrationTask.Builder resourceAttributeList(Consumer<ResourceAttribute.Builder>... resourceAttributeList)

      Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.

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

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

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