Interface Remediation.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Remediation.Builder,,- Remediation> - SdkBuilder<Remediation.Builder,,- Remediation> - SdkPojo
- Enclosing class:
- Remediation
- 
Method SummaryModifier and TypeMethodDescriptiondefault Remediation.Builderrecommendation(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 ofSuggestedFixobjects.suggestedFixes(Consumer<SuggestedFix.Builder>... suggestedFixes) A list ofSuggestedFixobjects.suggestedFixes(SuggestedFix... suggestedFixes) A list ofSuggestedFixobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
recommendationAn 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.
 
- 
recommendationAn 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.Builderavoiding the need to create one manually viaRecommendation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendation(Recommendation).- Parameters:
- recommendation- a consumer that will call methods on- Recommendation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
suggestedFixesA list of SuggestedFixobjects. Each object contains information about a suggested code fix to remediate the finding.- Parameters:
- suggestedFixes- A list of- SuggestedFixobjects. 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.
 
- 
suggestedFixesA list of SuggestedFixobjects. Each object contains information about a suggested code fix to remediate the finding.- Parameters:
- suggestedFixes- A list of- SuggestedFixobjects. 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.
 
- 
suggestedFixesA list of This is a convenience method that creates an instance of theSuggestedFixobjects. Each object contains information about a suggested code fix to remediate the finding.SuggestedFix.Builderavoiding the need to create one manually viaSuggestedFix.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuggestedFixes(List<SuggestedFix>).- Parameters:
- suggestedFixes- a consumer that will call methods on- SuggestedFix.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-