Interface Remediation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Remediation.Builder,,Remediation> SdkBuilder<Remediation.Builder,,Remediation> SdkPojo
- Enclosing class:
Remediation
public static interface Remediation.Builder
extends SdkPojo, CopyableBuilder<Remediation.Builder,Remediation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Remediation.Builderrecommendation(Consumer<Recommendation.Builder> recommendation) A recommendation on the steps to take to remediate the issue identified by a finding.recommendation(Recommendation recommendation) A recommendation on the steps to take to remediate the issue identified by a 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
-
recommendation
A recommendation on the steps to take to remediate the issue identified by a finding.
- Parameters:
recommendation- A recommendation on the steps to take to remediate the issue identified by a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
A recommendation on the steps to take to remediate the issue identified by 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 onRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-