Interface NotifyMigrationTaskStateRequest.Builder

    • 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.
      • 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.