public static interface MigrationTask.Builder extends CopyableBuilder<MigrationTask.Builder,MigrationTask>
Modifier and Type | Method and Description |
---|---|
MigrationTask.Builder |
migrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
|
MigrationTask.Builder |
progressUpdateStream(String progressUpdateStream)
A name that identifies the vendor of the migration tool being used.
|
MigrationTask.Builder |
resourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
|
MigrationTask.Builder |
resourceAttributeList(ResourceAttribute... resourceAttributeList)
|
default MigrationTask.Builder |
task(Consumer<Task.Builder> task)
Task object encapsulating task information.
|
MigrationTask.Builder |
task(Task task)
Task object encapsulating task information.
|
MigrationTask.Builder |
updateDateTime(Instant updateDateTime)
The timestamp when the task was gathered.
|
copy
apply, build
MigrationTask.Builder progressUpdateStream(String progressUpdateStream)
A name that identifies the vendor of the migration tool being used.
progressUpdateStream
- A name that identifies the vendor of the migration tool being used.MigrationTask.Builder migrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
migrationTaskName
- Unique identifier that references the migration task.MigrationTask.Builder task(Task task)
Task object encapsulating task information.
task
- Task object encapsulating task information.default MigrationTask.Builder task(Consumer<Task.Builder> task)
Task object encapsulating task information.
This is a convenience that creates an instance of theTask.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)
.task
- a consumer that will call methods on Task.Builder
task(Task)
MigrationTask.Builder updateDateTime(Instant updateDateTime)
The timestamp when the task was gathered.
updateDateTime
- The timestamp when the task was gathered.MigrationTask.Builder resourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
resourceAttributeList
- MigrationTask.Builder resourceAttributeList(ResourceAttribute... resourceAttributeList)
resourceAttributeList
- Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.