Interface NotifyMigrationTaskStateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<NotifyMigrationTaskStateRequest.Builder,
,NotifyMigrationTaskStateRequest> MigrationHubRequest.Builder
,SdkBuilder<NotifyMigrationTaskStateRequest.Builder,
,NotifyMigrationTaskStateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
NotifyMigrationTaskStateRequest
-
Method Summary
Modifier and TypeMethodDescriptionOptional boolean flag to indicate whether any effect should take place.migrationTaskName
(String migrationTaskName) Unique identifier that references the migration task.nextUpdateSeconds
(Integer nextUpdateSeconds) Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.progressUpdateStream
(String progressUpdateStream) The name of the ProgressUpdateStream.task
(Consumer<Task.Builder> task) Information about the task's progress and status.Information about the task's progress and status.updateDateTime
(Instant updateDateTime) The timestamp when the task was gathered.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 Details
-
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
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
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
Information about the task's progress and status.
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 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:
-
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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
NotifyMigrationTaskStateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-