Interface MigrationTaskUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MigrationTaskUpdate.Builder,
,MigrationTaskUpdate> SdkBuilder<MigrationTaskUpdate.Builder,
,MigrationTaskUpdate> SdkPojo
- Enclosing class:
MigrationTaskUpdate
@Mutable
@NotThreadSafe
public static interface MigrationTaskUpdate.Builder
extends SdkPojo, CopyableBuilder<MigrationTaskUpdate.Builder,MigrationTaskUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MigrationTaskUpdate.Builder
migrationTaskState
(Consumer<Task.Builder> migrationTaskState) Sets the value of the MigrationTaskState property for this object.migrationTaskState
(Task migrationTaskState) Sets the value of the MigrationTaskState property for this object.updateDateTime
(Instant updateDateTime) The timestamp for the update.updateType
(String updateType) The type of the update.updateType
(UpdateType updateType) The type of the update.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 Details
-
updateDateTime
The timestamp for the update.
- Parameters:
updateDateTime
- The timestamp for the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateType
The type of the update.
- Parameters:
updateType
- The type of the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateType
The type of the update.
- Parameters:
updateType
- The type of the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
migrationTaskState
Sets the value of the MigrationTaskState property for this object.- Parameters:
migrationTaskState
- The new value for the MigrationTaskState property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskState
Sets the value of the MigrationTaskState property for this object. 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 tomigrationTaskState(Task)
.- Parameters:
migrationTaskState
- 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:
-