Interface FindingValidation.Builder

  • Method Details

    • verdict

      The validator's conclusion.

      Parameters:
      verdict - The validator's conclusion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • verdict

      The validator's conclusion.

      Parameters:
      verdict - The validator's conclusion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockingReason

      FindingValidation.Builder blockingReason(String blockingReason)

      Why the validator reached that verdict.

      Parameters:
      blockingReason - Why the validator reached that verdict.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockingReason

      FindingValidation.Builder blockingReason(FindingBlockingReason blockingReason)

      Why the validator reached that verdict.

      Parameters:
      blockingReason - Why the validator reached that verdict.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidence

      FindingValidation.Builder confidence(Double confidence)

      The validator's confidence, from 0.0 to 1.0 inclusive. Advisory: it does not drive Continuum's own routing decisions. The range is enforced server-side, not by a @range trait -- the smithy-rs server SDK does not support range constraints on double shapes (smithy-rs#2007).

      Parameters:
      confidence - The validator's confidence, from 0.0 to 1.0 inclusive. Advisory: it does not drive Continuum's own routing decisions. The range is enforced server-side, not by a @range trait -- the smithy-rs server SDK does not support range constraints on double shapes (smithy-rs#2007).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rationale

      FindingValidation.Builder rationale(String rationale)

      The validator's reasoning.

      Parameters:
      rationale - The validator's reasoning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityAdjustment

      FindingValidation.Builder severityAdjustment(String severityAdjustment)

      The validator's severity conclusion.

      Parameters:
      severityAdjustment - The validator's severity conclusion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severityAdjustment

      FindingValidation.Builder severityAdjustment(FindingSeverityAdjustment severityAdjustment)

      The validator's severity conclusion.

      Parameters:
      severityAdjustment - The validator's severity conclusion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mitigatingControls

      FindingValidation.Builder mitigatingControls(Collection<String> mitigatingControls)

      Controls the validator found that reduce exploitability.

      Parameters:
      mitigatingControls - Controls the validator found that reduce exploitability.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mitigatingControls

      FindingValidation.Builder mitigatingControls(String... mitigatingControls)

      Controls the validator found that reduce exploitability.

      Parameters:
      mitigatingControls - Controls the validator found that reduce exploitability.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preconditions

      FindingValidation.Builder preconditions(Collection<String> preconditions)

      Conditions exploitation depends on, which bound the severity.

      Parameters:
      preconditions - Conditions exploitation depends on, which bound the severity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preconditions

      FindingValidation.Builder preconditions(String... preconditions)

      Conditions exploitation depends on, which bound the severity.

      Parameters:
      preconditions - Conditions exploitation depends on, which bound the severity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evidence

      Code citations supporting the verdict.

      Parameters:
      evidence - Code citations supporting the verdict.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evidence

      Code citations supporting the verdict.

      Parameters:
      evidence - Code citations supporting the verdict.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evidence

      Code citations supporting the verdict.

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

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

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