Interface ListBackupsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListBackupsResponse.Builder,ListBackupsResponse>, DynamoDbResponse.Builder, SdkBuilder<ListBackupsResponse.Builder,ListBackupsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListBackupsResponse

public static interface ListBackupsResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<ListBackupsResponse.Builder,ListBackupsResponse>
  • Method Details

    • backupSummaries

      ListBackupsResponse.Builder backupSummaries(Collection<BackupSummary> backupSummaries)

      List of BackupSummary objects.

      Parameters:
      backupSummaries - List of BackupSummary objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupSummaries

      ListBackupsResponse.Builder backupSummaries(BackupSummary... backupSummaries)

      List of BackupSummary objects.

      Parameters:
      backupSummaries - List of BackupSummary objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupSummaries

      ListBackupsResponse.Builder backupSummaries(Consumer<BackupSummary.Builder>... backupSummaries)

      List of BackupSummary objects.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to backupSummaries(List<BackupSummary>).

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

      ListBackupsResponse.Builder lastEvaluatedBackupArn(String lastEvaluatedBackupArn)

      The ARN of the backup last evaluated when the current page of results was returned, inclusive of the current page of results. This value may be specified as the ExclusiveStartBackupArn of a new ListBackups operation in order to fetch the next page of results.

      If LastEvaluatedBackupArn is empty, then the last page of results has been processed and there are no more results to be retrieved.

      If LastEvaluatedBackupArn is not empty, this may or may not indicate that there is more data to be returned. All results are guaranteed to have been returned if and only if no value for LastEvaluatedBackupArn is returned.

      Parameters:
      lastEvaluatedBackupArn - The ARN of the backup last evaluated when the current page of results was returned, inclusive of the current page of results. This value may be specified as the ExclusiveStartBackupArn of a new ListBackups operation in order to fetch the next page of results.

      If LastEvaluatedBackupArn is empty, then the last page of results has been processed and there are no more results to be retrieved.

      If LastEvaluatedBackupArn is not empty, this may or may not indicate that there is more data to be returned. All results are guaranteed to have been returned if and only if no value for LastEvaluatedBackupArn is returned.

      Returns:
      Returns a reference to this object so that method calls can be chained together.