Interface MigrationTaskUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MigrationTaskUpdate.Builder,MigrationTaskUpdate>,SdkBuilder<MigrationTaskUpdate.Builder,MigrationTaskUpdate>,SdkPojo
- Enclosing class:
- MigrationTaskUpdate
public static interface MigrationTaskUpdate.Builder extends SdkPojo, CopyableBuilder<MigrationTaskUpdate.Builder,MigrationTaskUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MigrationTaskUpdate.BuildermigrationTaskState(Consumer<Task.Builder> migrationTaskState)Sets the value of the MigrationTaskState property for this object.MigrationTaskUpdate.BuildermigrationTaskState(Task migrationTaskState)Sets the value of the MigrationTaskState property for this object.MigrationTaskUpdate.BuilderupdateDateTime(Instant updateDateTime)The timestamp for the update.MigrationTaskUpdate.BuilderupdateType(String updateType)The type of the update.MigrationTaskUpdate.BuilderupdateType(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 Detail
-
updateDateTime
MigrationTaskUpdate.Builder updateDateTime(Instant 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
MigrationTaskUpdate.Builder updateType(String 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,UpdateType
-
updateType
MigrationTaskUpdate.Builder updateType(UpdateType 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,UpdateType
-
migrationTaskState
MigrationTaskUpdate.Builder migrationTaskState(Task 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
default MigrationTaskUpdate.Builder migrationTaskState(Consumer<Task.Builder> migrationTaskState)
Sets the value of the MigrationTaskState property for this object. 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 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:
migrationTaskState(Task)
-
-