Interface ListFindingsRequest.Builder

  • Method Details

    • filterCriteria

      ListFindingsRequest.Builder filterCriteria(FilterCriteria filterCriteria)

      Details on the filters to apply to your finding results.

      Parameters:
      filterCriteria - Details on the filters to apply to your finding results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterCriteria

      default ListFindingsRequest.Builder filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)

      Details on the filters to apply to your finding results.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filterCriteria(FilterCriteria).

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

      ListFindingsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

      Parameters:
      maxResults - The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListFindingsRequest.Builder nextToken(String nextToken)

      A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

      Parameters:
      nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortCriteria

      ListFindingsRequest.Builder sortCriteria(SortCriteria sortCriteria)

      Details on the sort criteria to apply to your finding results.

      Parameters:
      sortCriteria - Details on the sort criteria to apply to your finding results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortCriteria

      default ListFindingsRequest.Builder sortCriteria(Consumer<SortCriteria.Builder> sortCriteria)

      Details on the sort criteria to apply to your finding results.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sortCriteria(SortCriteria).

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

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