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(Consumer<ResourceAttribute.Builder>... resourceAttributeList)
This is a convenience that creates an instance of the
List avoiding the
need to create one manually via List . |
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
applyMutation, 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
- MigrationTask.Builder resourceAttributeList(Consumer<ResourceAttribute.Builder>... resourceAttributeList)
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #resourceAttributeList(List)
.resourceAttributeList
- a consumer that will call methods on List.Builder
#resourceAttributeList(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.