Interface GetFindingsRequest.Builder

    • Method Detail

      • filters

        GetFindingsRequest.Builder filters​(AwsSecurityFindingFilters 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.
      • sortCriteria

        GetFindingsRequest.Builder sortCriteria​(Collection<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

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