public static interface Remediation.Builder extends SdkPojo, CopyableBuilder<Remediation.Builder,Remediation>
| Modifier and Type | Method and Description |
|---|---|
default Remediation.Builder |
recommendation(Consumer<Recommendation.Builder> recommendation)
An object that contains information about the recommended course of action to remediate a finding.
|
Remediation.Builder |
recommendation(Recommendation recommendation)
An object that contains information about the recommended course of action to remediate a finding.
|
Remediation.Builder |
suggestedFixes(Collection<SuggestedFix> suggestedFixes)
A list of
SuggestedFix objects. |
Remediation.Builder |
suggestedFixes(Consumer<SuggestedFix.Builder>... suggestedFixes)
A list of
SuggestedFix objects. |
Remediation.Builder |
suggestedFixes(SuggestedFix... suggestedFixes)
A list of
SuggestedFix objects. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRemediation.Builder recommendation(Recommendation recommendation)
An object that contains information about the recommended course of action to remediate a finding.
recommendation - An object that contains information about the recommended course of action to remediate a finding.default Remediation.Builder recommendation(Consumer<Recommendation.Builder> recommendation)
An object that contains information about the recommended course of action to remediate a finding.
This is a convenience method that creates an instance of theRecommendation.Builder avoiding the need
to create one manually via Recommendation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to recommendation(Recommendation).
recommendation - a consumer that will call methods on Recommendation.Builderrecommendation(Recommendation)Remediation.Builder suggestedFixes(Collection<SuggestedFix> suggestedFixes)
A list of SuggestedFix objects. Each object contains information about a suggested code fix to
remediate the finding.
suggestedFixes - A list of SuggestedFix objects. Each object contains information about a suggested code
fix to remediate the finding.Remediation.Builder suggestedFixes(SuggestedFix... suggestedFixes)
A list of SuggestedFix objects. Each object contains information about a suggested code fix to
remediate the finding.
suggestedFixes - A list of SuggestedFix objects. Each object contains information about a suggested code
fix to remediate the finding.Remediation.Builder suggestedFixes(Consumer<SuggestedFix.Builder>... suggestedFixes)
A list of SuggestedFix objects. Each object contains information about a suggested code fix to
remediate the finding.
SuggestedFix.Builder avoiding the need to
create one manually via SuggestedFix.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #suggestedFixes(List.
suggestedFixes - a consumer that will call methods on
SuggestedFix.Builder#suggestedFixes(java.util.Collection) Copyright © 2023. All rights reserved.