Interface NonCompliantSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NonCompliantSummary.Builder,,NonCompliantSummary> SdkBuilder<NonCompliantSummary.Builder,,NonCompliantSummary> SdkPojo
- Enclosing class:
NonCompliantSummary
@Mutable
@NotThreadSafe
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.BuilderseveritySummary(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
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
-
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.Builderavoiding the need to create one manually viaSeveritySummary.builder().When the
Consumercompletes,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:
-