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 Details

    • 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

      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 the Task.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).

      Parameters:
      task - a consumer that will call methods on Task.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.