Interface ListRestoreJobSummariesResponse.Builder

  • Method Details

    • restoreJobSummaries

      ListRestoreJobSummariesResponse.Builder restoreJobSummaries(Collection<RestoreJobSummary> restoreJobSummaries)

      This return contains a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

      Parameters:
      restoreJobSummaries - This return contains a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restoreJobSummaries

      ListRestoreJobSummariesResponse.Builder restoreJobSummaries(RestoreJobSummary... restoreJobSummaries)

      This return contains a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

      Parameters:
      restoreJobSummaries - This return contains a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restoreJobSummaries

      ListRestoreJobSummariesResponse.Builder restoreJobSummaries(Consumer<RestoreJobSummary.Builder>... restoreJobSummaries)

      This return contains a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

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

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

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

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