Interface GetFindingsRequest.Builder

  • Method Details

    • filters

      The finding attributes used to define a condition to filter the returned findings.

      You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.

      Note that in the available filter fields, WorkflowState is deprecated. To search for a finding based on its workflow status, use WorkflowStatus.

      Parameters:
      filters - The finding attributes used to define a condition to filter the returned findings.

      You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.

      Note that in the available filter fields, WorkflowState is deprecated. To search for a finding based on its workflow status, use WorkflowStatus.

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

      The finding attributes used to define a condition to filter the returned findings.

      You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.

      Note that in the available filter fields, WorkflowState is deprecated. To search for a finding based on its workflow status, use WorkflowStatus.

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

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

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

      The finding attributes used to sort the list of returned findings.

      Parameters:
      sortCriteria - The finding attributes used to sort the list of returned findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortCriteria

      GetFindingsRequest.Builder sortCriteria(SortCriterion... sortCriteria)

      The finding attributes used to sort the list of returned findings.

      Parameters:
      sortCriteria - The finding attributes used to sort the list of returned findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortCriteria

      The finding attributes used to sort the list of returned findings.

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

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

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

      GetFindingsRequest.Builder nextToken(String nextToken)

      The token that is required for pagination. On your first call to the GetFindings operation, set the value of this parameter to NULL.

      For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

      Parameters:
      nextToken - The token that is required for pagination. On your first call to the GetFindings operation, set the value of this parameter to NULL.

      For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

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

      GetFindingsRequest.Builder maxResults(Integer maxResults)

      The maximum number of findings to return.

      Parameters:
      maxResults - The maximum number of findings to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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