Interface AnalysisRule.Builder

  • Method Details

    • exclusions

      A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.

      Parameters:
      exclusions - A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exclusions

      AnalysisRule.Builder exclusions(AnalysisRuleCriteria... exclusions)

      A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.

      Parameters:
      exclusions - A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exclusions

      A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.

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

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

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