Interface ListScanJobSummariesRequest.Builder

  • Method Details

    • accountId

      Returns the job count for the specified account.

      If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.

      Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.

      AGGREGATE_ALL aggregates job counts from all accounts within the authenticated organization, then returns the sum.

      Parameters:
      accountId - Returns the job count for the specified account.

      If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.

      Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.

      AGGREGATE_ALL aggregates job counts from all accounts within the authenticated organization, then returns the sum.

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

      ListScanJobSummariesRequest.Builder resourceType(String resourceType)

      Returns the job count for the specified resource type. Use request GetSupportedResourceTypes to obtain strings for supported resource types.

      The the value ANY returns count of all resource types.

      AGGREGATE_ALL aggregates job counts for all resource types and returns the sum.

      Parameters:
      resourceType - Returns the job count for the specified resource type. Use request GetSupportedResourceTypes to obtain strings for supported resource types.

      The the value ANY returns count of all resource types.

      AGGREGATE_ALL aggregates job counts for all resource types and returns the sum.

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

      ListScanJobSummariesRequest.Builder malwareScanner(String malwareScanner)

      Returns only the scan jobs for the specified malware scanner. Currently the only MalwareScanner is GUARDDUTY. But the field also supports ANY, and AGGREGATE_ALL.

      Parameters:
      malwareScanner - Returns only the scan jobs for the specified malware scanner. Currently the only MalwareScanner is GUARDDUTY. But the field also supports ANY, and AGGREGATE_ALL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • malwareScanner

      ListScanJobSummariesRequest.Builder malwareScanner(MalwareScanner malwareScanner)

      Returns only the scan jobs for the specified malware scanner. Currently the only MalwareScanner is GUARDDUTY. But the field also supports ANY, and AGGREGATE_ALL.

      Parameters:
      malwareScanner - Returns only the scan jobs for the specified malware scanner. Currently the only MalwareScanner is GUARDDUTY. But the field also supports ANY, and AGGREGATE_ALL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanResultStatus

      ListScanJobSummariesRequest.Builder scanResultStatus(String scanResultStatus)

      Returns only the scan jobs for the specified scan results.

      Parameters:
      scanResultStatus - Returns only the scan jobs for the specified scan results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanResultStatus

      ListScanJobSummariesRequest.Builder scanResultStatus(ScanResultStatus scanResultStatus)

      Returns only the scan jobs for the specified scan results.

      Parameters:
      scanResultStatus - Returns only the scan jobs for the specified scan results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Returns only the scan jobs for the specified scanning job state.

      Parameters:
      state - Returns only the scan jobs for the specified scanning job state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Returns only the scan jobs for the specified scanning job state.

      Parameters:
      state - Returns only the scan jobs for the specified scanning job state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregationPeriod

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

      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.

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

      ListScanJobSummariesRequest.Builder aggregationPeriod(AggregationPeriod 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.

      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.

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

      The maximum number of items to be returned.

      The value is an integer. Range of accepted values is from 1 to 500.

      Parameters:
      maxResults - The maximum number of items to be returned.

      The value is an integer. Range of accepted values is from 1 to 500.

      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.
    • overrideConfiguration

      ListScanJobSummariesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.