Interface MigrationTask.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MigrationTask.Builder,
,MigrationTask> SdkBuilder<MigrationTask.Builder,
,MigrationTask> SdkPojo
- Enclosing class:
MigrationTask
-
Method Summary
Modifier and TypeMethodDescriptionmigrationTaskName
(String migrationTaskName) Unique identifier that references the migration task.progressUpdateStream
(String progressUpdateStream) A name that identifies the vendor of the migration tool being used.resourceAttributeList
(Collection<ResourceAttribute> resourceAttributeList) Information about the resource that is being migrated.resourceAttributeList
(Consumer<ResourceAttribute.Builder>... resourceAttributeList) Information about the resource that is being migrated.resourceAttributeList
(ResourceAttribute... resourceAttributeList) Information about the resource that is being migrated.default MigrationTask.Builder
task
(Consumer<Task.Builder> task) Task object encapsulating task information.Task object encapsulating task information.updateDateTime
(Instant updateDateTime) The timestamp when the task was gathered.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 theTask.Builder
avoiding the need to create one manually viaTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totask(Task)
.- Parameters:
task
- a consumer that will call methods onTask.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theResourceAttribute.Builder
avoiding the need to create one manually viaResourceAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceAttributeList(List<ResourceAttribute>)
.- Parameters:
resourceAttributeList
- a consumer that will call methods onResourceAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-