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)
Provides a recommendation on how to remediate the issue identified within a finding.
|
Remediation.Builder |
recommendation(Recommendation recommendation)
Provides a recommendation on how to remediate the issue identified within a finding.
|
copy
applyMutation, build
Remediation.Builder recommendation(Recommendation recommendation)
Provides a recommendation on how to remediate the issue identified within a finding.
recommendation
- Provides a recommendation on how to remediate the issue identified within a finding.default Remediation.Builder recommendation(Consumer<Recommendation.Builder> recommendation)
Provides a recommendation on how to remediate the issue identified within a finding.
This is a convenience 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.Builder
recommendation(Recommendation)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.