Interface Remediation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Remediation.Builder,
,Remediation> SdkBuilder<Remediation.Builder,
,Remediation> SdkPojo
- Enclosing class:
Remediation
-
Method Summary
Modifier and TypeMethodDescriptiondefault Remediation.Builder
recommendation
(Consumer<Recommendation.Builder> recommendation) An object that contains information about the recommended course of action to remediate a finding.recommendation
(Recommendation recommendation) An object that contains information about the recommended course of action to remediate a finding.suggestedFixes
(Collection<SuggestedFix> suggestedFixes) A list ofSuggestedFix
objects.suggestedFixes
(Consumer<SuggestedFix.Builder>... suggestedFixes) A list ofSuggestedFix
objects.suggestedFixes
(SuggestedFix... suggestedFixes) A list ofSuggestedFix
objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
recommendation
An object that contains information about the recommended course of action to remediate a finding.
- Parameters:
recommendation
- An object that contains information about the recommended course of action to remediate a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRecommendation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendation(Recommendation)
.- Parameters:
recommendation
- a consumer that will call methods onRecommendation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suggestedFixes
A list of
SuggestedFix
objects. Each object contains information about a suggested code fix to remediate the finding.- Parameters:
suggestedFixes
- A list ofSuggestedFix
objects. Each object contains information about a suggested code fix to remediate the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestedFixes
A list of
SuggestedFix
objects. Each object contains information about a suggested code fix to remediate the finding.- Parameters:
suggestedFixes
- A list ofSuggestedFix
objects. Each object contains information about a suggested code fix to remediate the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestedFixes
A list of
This is a convenience method that creates an instance of theSuggestedFix
objects. Each object contains information about a suggested code fix to remediate the finding.SuggestedFix.Builder
avoiding the need to create one manually viaSuggestedFix.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuggestedFixes(List<SuggestedFix>)
.- Parameters:
suggestedFixes
- a consumer that will call methods onSuggestedFix.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-