Interface PerFindingResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PerFindingResult.Builder,,PerFindingResult> SdkBuilder<PerFindingResult.Builder,,PerFindingResult> SdkPojo
- Enclosing class:
PerFindingResult
-
Method Summary
Modifier and TypeMethodDescriptionconfidence(Double confidence) Confidence in this finding's verdict.exploitable(String exploitable) Exploitability verdict for this finding.exploitable(ExploitabilityVerdict exploitable) Exploitability verdict for this finding.default PerFindingResult.BuilderexploitArtifact(Consumer<ValidationExploitArtifact.Builder> exploitArtifact) Exploit artifact produced for this finding, when there was one.exploitArtifact(ValidationExploitArtifact exploitArtifact) Exploit artifact produced for this finding, when there was one.The finding assessed.flowVerdicts(Collection<FlowVerdict> flowVerdicts) Per-flow verdicts recorded for this finding.flowVerdicts(Consumer<FlowVerdict.Builder>... flowVerdicts) Per-flow verdicts recorded for this finding.flowVerdicts(FlowVerdict... flowVerdicts) Per-flow verdicts recorded for this finding.reasoningChain(Collection<ReasoningStep> reasoningChain) Reasoning chain recorded for this finding.reasoningChain(Consumer<ReasoningStep.Builder>... reasoningChain) Reasoning chain recorded for this finding.reasoningChain(ReasoningStep... reasoningChain) Reasoning chain recorded for this finding.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
findingId
The finding assessed.
- Parameters:
findingId- The finding assessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exploitable
Exploitability verdict for this finding.
- Parameters:
exploitable- Exploitability verdict for this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exploitable
Exploitability verdict for this finding.
- Parameters:
exploitable- Exploitability verdict for this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
Confidence in this finding's verdict. Absent when out of range.
- Parameters:
confidence- Confidence in this finding's verdict. Absent when out of range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowVerdicts
Per-flow verdicts recorded for this finding.
- Parameters:
flowVerdicts- Per-flow verdicts recorded for this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowVerdicts
Per-flow verdicts recorded for this finding.
- Parameters:
flowVerdicts- Per-flow verdicts recorded for this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowVerdicts
Per-flow verdicts recorded for this finding.
This is a convenience method that creates an instance of theFlowVerdict.Builderavoiding the need to create one manually viaFlowVerdict.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflowVerdicts(List<FlowVerdict>).- Parameters:
flowVerdicts- a consumer that will call methods onFlowVerdict.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasoningChain
Reasoning chain recorded for this finding.
- Parameters:
reasoningChain- Reasoning chain recorded for this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasoningChain
Reasoning chain recorded for this finding.
- Parameters:
reasoningChain- Reasoning chain recorded for this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasoningChain
Reasoning chain recorded for this finding.
This is a convenience method that creates an instance of theReasoningStep.Builderavoiding the need to create one manually viaReasoningStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreasoningChain(List<ReasoningStep>).- Parameters:
reasoningChain- a consumer that will call methods onReasoningStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exploitArtifact
Exploit artifact produced for this finding, when there was one.
- Parameters:
exploitArtifact- Exploit artifact produced for this finding, when there was one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exploitArtifact
default PerFindingResult.Builder exploitArtifact(Consumer<ValidationExploitArtifact.Builder> exploitArtifact) Exploit artifact produced for this finding, when there was one.
This is a convenience method that creates an instance of theValidationExploitArtifact.Builderavoiding the need to create one manually viaValidationExploitArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexploitArtifact(ValidationExploitArtifact).- Parameters:
exploitArtifact- a consumer that will call methods onValidationExploitArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-