Interface ListBackupJobSummariesResponse.Builder

  • Method Details

    • backupJobSummaries

      ListBackupJobSummariesResponse.Builder backupJobSummaries(Collection<BackupJobSummary> backupJobSummaries)

      The summary information.

      Parameters:
      backupJobSummaries - The summary information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupJobSummaries

      ListBackupJobSummariesResponse.Builder backupJobSummaries(BackupJobSummary... backupJobSummaries)

      The summary information.

      Parameters:
      backupJobSummaries - The summary information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupJobSummaries

      ListBackupJobSummariesResponse.Builder backupJobSummaries(Consumer<BackupJobSummary.Builder>... backupJobSummaries)

      The summary information.

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

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

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

      ListBackupJobSummariesResponse.Builder aggregationPeriod(String aggregationPeriod)

      The period for the returned results.

      • ONE_DAY - The daily job count for the prior 14 days.

      • SEVEN_DAYS - The aggregated job count for the prior 7 days.

      • FOURTEEN_DAYS - The aggregated job count for prior 14 days.

      Parameters:
      aggregationPeriod - The period for the returned results.

      • ONE_DAY - The daily job count for the prior 14 days.

      • SEVEN_DAYS - The aggregated job count for the prior 7 days.

      • FOURTEEN_DAYS - The aggregated job count for prior 14 days.

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

      The next item following a partial list of returned resources. For example, if a request is made to return MaxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

      Parameters:
      nextToken - The next item following a partial list of returned resources. For example, if a request is made to return MaxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.