Interface NonCompliantSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NonCompliantSummary.Builder,
,NonCompliantSummary> SdkBuilder<NonCompliantSummary.Builder,
,NonCompliantSummary> SdkPojo
- Enclosing class:
NonCompliantSummary
public static interface NonCompliantSummary.Builder
extends SdkPojo, CopyableBuilder<NonCompliantSummary.Builder,NonCompliantSummary>
-
Method Summary
Modifier and TypeMethodDescriptionnonCompliantCount
(Integer nonCompliantCount) The total number of compliance items that aren't compliant.default NonCompliantSummary.Builder
severitySummary
(Consumer<SeveritySummary.Builder> severitySummary) A summary of the non-compliance severity by compliance typeseveritySummary
(SeveritySummary severitySummary) A summary of the non-compliance severity by compliance typeMethods 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
-
nonCompliantCount
The total number of compliance items that aren't compliant.
- Parameters:
nonCompliantCount
- The total number of compliance items that aren't compliant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severitySummary
A summary of the non-compliance severity by compliance type
- Parameters:
severitySummary
- A summary of the non-compliance severity by compliance type- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severitySummary
default NonCompliantSummary.Builder severitySummary(Consumer<SeveritySummary.Builder> severitySummary) A summary of the non-compliance severity by compliance type
This is a convenience method that creates an instance of theSeveritySummary.Builder
avoiding the need to create one manually viaSeveritySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseveritySummary(SeveritySummary)
.- Parameters:
severitySummary
- a consumer that will call methods onSeveritySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-