Interface ListScanJobSummariesResponse.Builder

  • Method Details

    • scanJobSummaries

      ListScanJobSummariesResponse.Builder scanJobSummaries(Collection<ScanJobSummary> scanJobSummaries)

      The summary information.

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

      ListScanJobSummariesResponse.Builder scanJobSummaries(ScanJobSummary... scanJobSummaries)

      The summary information.

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

      The summary information.

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

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

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

      ListScanJobSummariesResponse.Builder aggregationPeriod(String aggregationPeriod)

      The period for the returned results.

      • ONE_DAYThe daily job count for the prior 1 day.

      • SEVEN_DAYSThe daily job count for the prior 7 days.

      • FOURTEEN_DAYSThe daily job count for the prior 14 days.

      Valid Values: 'ONE_DAY' | 'SEVEN_DAYS' | 'FOURTEEN_DAYS'

      Parameters:
      aggregationPeriod - The period for the returned results.

      • ONE_DAYThe daily job count for the prior 1 day.

      • SEVEN_DAYSThe daily job count for the prior 7 days.

      • FOURTEEN_DAYSThe daily job count for the prior 14 days.

      Valid Values: 'ONE_DAY' | 'SEVEN_DAYS' | 'FOURTEEN_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 items. For example, if a request is made to return MaxResults number of items, 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 items. For example, if a request is made to return MaxResults number of items, 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.