Interface NotifyMigrationTaskStateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<NotifyMigrationTaskStateRequest.Builder,NotifyMigrationTaskStateRequest>,MigrationHubRequest.Builder,SdkBuilder<NotifyMigrationTaskStateRequest.Builder,NotifyMigrationTaskStateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- NotifyMigrationTaskStateRequest
public static interface NotifyMigrationTaskStateRequest.Builder extends MigrationHubRequest.Builder, SdkPojo, CopyableBuilder<NotifyMigrationTaskStateRequest.Builder,NotifyMigrationTaskStateRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.migrationhub.model.MigrationHubRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
progressUpdateStream
NotifyMigrationTaskStateRequest.Builder progressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
- Parameters:
progressUpdateStream- The name of the ProgressUpdateStream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskName
NotifyMigrationTaskStateRequest.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
NotifyMigrationTaskStateRequest.Builder task(Task task)
Information about the task's progress and status.
- Parameters:
task- Information about the task's progress and status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
task
default NotifyMigrationTaskStateRequest.Builder task(Consumer<Task.Builder> task)
Information about the task's progress and status.
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
NotifyMigrationTaskStateRequest.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.
-
nextUpdateSeconds
NotifyMigrationTaskStateRequest.Builder nextUpdateSeconds(Integer nextUpdateSeconds)
Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.
- Parameters:
nextUpdateSeconds- Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
NotifyMigrationTaskStateRequest.Builder dryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
- Parameters:
dryRun- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
NotifyMigrationTaskStateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
NotifyMigrationTaskStateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-