Interface CompliantSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CompliantSummary.Builder,,CompliantSummary> SdkBuilder<CompliantSummary.Builder,,CompliantSummary> SdkPojo
- Enclosing class:
CompliantSummary
@Mutable
@NotThreadSafe
public static interface CompliantSummary.Builder
extends SdkPojo, CopyableBuilder<CompliantSummary.Builder,CompliantSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncompliantCount(Integer compliantCount) The total number of resources that are compliant.default CompliantSummary.BuilderseveritySummary(Consumer<SeveritySummary.Builder> severitySummary) A summary of the compliance severity by compliance type.severitySummary(SeveritySummary severitySummary) A summary of the compliance severity by compliance type.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
-
compliantCount
The total number of resources that are compliant.
- Parameters:
compliantCount- The total number of resources that are compliant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severitySummary
A summary of the compliance severity by compliance type.
- Parameters:
severitySummary- A summary of the compliance severity by compliance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severitySummary
A summary of the 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:
-