Interface ValidationExecutedProof.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationExecutedProof.Builder,,ValidationExecutedProof> SdkBuilder<ValidationExecutedProof.Builder,,ValidationExecutedProof> SdkPojo
- Enclosing class:
ValidationExecutedProof
-
Method Summary
Modifier and TypeMethodDescriptiondefault ValidationExecutedProof.BuilderThe code that was run.code(ValidationProofCode code) The code that was run.observedEffect(String observedEffect) Effect the execution actually produced.observedEffect(ExploitEffect observedEffect) Effect the execution actually produced.default ValidationExecutedProof.Builderoutput(Consumer<ValidationProofOutput.Builder> output) What the execution printed, including the agent's own PASS/FAIL assertions.output(ValidationProofOutput output) What the execution printed, including the agent's own PASS/FAIL assertions.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
-
code
The code that was run. Not a request payload: it imports the repository's own modules and drives the vulnerable code path directly.
- Parameters:
code- The code that was run. Not a request payload: it imports the repository's own modules and drives the vulnerable code path directly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
The code that was run. Not a request payload: it imports the repository's own modules and drives the vulnerable code path directly.
This is a convenience method that creates an instance of theValidationProofCode.Builderavoiding the need to create one manually viaValidationProofCode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocode(ValidationProofCode).- Parameters:
code- a consumer that will call methods onValidationProofCode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
output
What the execution printed, including the agent's own PASS/FAIL assertions. Absent when the run printed nothing retained.
- Parameters:
output- What the execution printed, including the agent's own PASS/FAIL assertions. Absent when the run printed nothing retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
output
What the execution printed, including the agent's own PASS/FAIL assertions. Absent when the run printed nothing retained.
This is a convenience method that creates an instance of theValidationProofOutput.Builderavoiding the need to create one manually viaValidationProofOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutput(ValidationProofOutput).- Parameters:
output- a consumer that will call methods onValidationProofOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
observedEffect
Effect the execution actually produced.
observedEffectrather thaneffect: this one was witnessed, and the name has to stay distinguishable fromValidationSourceAnalysis.inferredEffect, which was not.- Parameters:
observedEffect- Effect the execution actually produced.observedEffectrather thaneffect: this one was witnessed, and the name has to stay distinguishable fromValidationSourceAnalysis.inferredEffect, which was not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
observedEffect
Effect the execution actually produced.
observedEffectrather thaneffect: this one was witnessed, and the name has to stay distinguishable fromValidationSourceAnalysis.inferredEffect, which was not.- Parameters:
observedEffect- Effect the execution actually produced.observedEffectrather thaneffect: this one was witnessed, and the name has to stay distinguishable fromValidationSourceAnalysis.inferredEffect, which was not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-