Interface DatastoreBackupStatus.Builder

  • Method Details

    • configuration

      DatastoreBackupStatus.Builder configuration(BackupConfiguration configuration)

      The backup configuration for the data store.

      Parameters:
      configuration - The backup configuration for the data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      default DatastoreBackupStatus.Builder configuration(Consumer<BackupConfiguration.Builder> configuration)

      The backup configuration for the data store.

      This is a convenience method that creates an instance of the BackupConfiguration.Builder avoiding the need to create one manually via BackupConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(BackupConfiguration).

      Parameters:
      configuration - a consumer that will call methods on BackupConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • backupEnabledAt

      DatastoreBackupStatus.Builder backupEnabledAt(Instant backupEnabledAt)

      The time backup was enabled on the data store.

      Parameters:
      backupEnabledAt - The time backup was enabled on the data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • earliestRestorePoint

      DatastoreBackupStatus.Builder earliestRestorePoint(Instant earliestRestorePoint)

      The earliest point in time the data store can be restored to.

      Parameters:
      earliestRestorePoint - The earliest point in time the data store can be restored to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestRestorePoint

      DatastoreBackupStatus.Builder latestRestorePoint(Instant latestRestorePoint)

      The latest point in time the data store can be restored to.

      Parameters:
      latestRestorePoint - The latest point in time the data store can be restored to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduledPermanentDeletionTime

      DatastoreBackupStatus.Builder scheduledPermanentDeletionTime(Instant scheduledPermanentDeletionTime)

      The time the retained backup data is scheduled for permanent deletion.

      Parameters:
      scheduledPermanentDeletionTime - The time the retained backup data is scheduled for permanent deletion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.