public static interface NotifyMigrationTaskStateRequest.Builder extends MigrationHubRequest.Builder, CopyableBuilder<NotifyMigrationTaskStateRequest.Builder,NotifyMigrationTaskStateRequest>
Modifier and Type | Method and Description |
---|---|
NotifyMigrationTaskStateRequest.Builder |
dryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place.
|
NotifyMigrationTaskStateRequest.Builder |
migrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
|
NotifyMigrationTaskStateRequest.Builder |
nextUpdateSeconds(Integer nextUpdateSeconds)
Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update.
|
NotifyMigrationTaskStateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
NotifyMigrationTaskStateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
NotifyMigrationTaskStateRequest.Builder |
progressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
|
default NotifyMigrationTaskStateRequest.Builder |
task(Consumer<Task.Builder> task)
Information about the task's progress and status.
|
NotifyMigrationTaskStateRequest.Builder |
task(Task task)
Information about the task's progress and status.
|
NotifyMigrationTaskStateRequest.Builder |
updateDateTime(Instant updateDateTime)
The timestamp when the task was gathered.
|
build
overrideConfiguration
copy
applyMutation, build
NotifyMigrationTaskStateRequest.Builder progressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
progressUpdateStream
- The name of the ProgressUpdateStream.NotifyMigrationTaskStateRequest.Builder migrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
migrationTaskName
- Unique identifier that references the migration task.NotifyMigrationTaskStateRequest.Builder task(Task task)
Information about the task's progress and status.
task
- Information about the task's progress and status.default NotifyMigrationTaskStateRequest.Builder task(Consumer<Task.Builder> task)
Information about the task's progress and status.
This is a convenience that creates an instance of theTask.Builder
avoiding the need to create one
manually via Task.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to task(Task)
.task
- a consumer that will call methods on Task.Builder
task(Task)
NotifyMigrationTaskStateRequest.Builder updateDateTime(Instant updateDateTime)
The timestamp when the task was gathered.
updateDateTime
- The timestamp when the task was gathered.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.
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.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.
dryRun
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has
permission to make the call.NotifyMigrationTaskStateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.NotifyMigrationTaskStateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.