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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MigrationTask.BuildermigrationTaskName(String migrationTaskName)Unique identifier that references the migration task.MigrationTask.BuilderprogressUpdateStream(String progressUpdateStream)A name that identifies the vendor of the migration tool being used.MigrationTask.BuilderresourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)Information about the resource that is being migrated.MigrationTask.BuilderresourceAttributeList(Consumer<ResourceAttribute.Builder>... resourceAttributeList)Information about the resource that is being migrated.MigrationTask.BuilderresourceAttributeList(ResourceAttribute... resourceAttributeList)Information about the resource that is being migrated.default MigrationTask.Buildertask(Consumer<Task.Builder> task)Task object encapsulating task information.MigrationTask.Buildertask(Task task)Task object encapsulating task information.MigrationTask.BuilderupdateDateTime(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
MigrationTask.Builder task(Task 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
default MigrationTask.Builder task(Consumer<Task.Builder> task)
Task object encapsulating task information.
This is a convenience method that creates an instance of theTask.Builderavoiding the need to create one manually viaTask.builder().When the
Consumercompletes,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:
task(Task)
-
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 theResourceAttribute.Builderavoiding the need to create one manually viaResourceAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceAttributeList(List.) - 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:
#resourceAttributeList(java.util.Collection)
-
-