Interface ComplianceSummaryItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ComplianceSummaryItem.Builder,,ComplianceSummaryItem> SdkBuilder<ComplianceSummaryItem.Builder,,ComplianceSummaryItem> SdkPojo
- Enclosing class:
ComplianceSummaryItem
@Mutable
@NotThreadSafe
public static interface ComplianceSummaryItem.Builder
extends SdkPojo, CopyableBuilder<ComplianceSummaryItem.Builder,ComplianceSummaryItem>
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceType(String complianceType) The type of compliance item.default ComplianceSummaryItem.BuildercompliantSummary(Consumer<CompliantSummary.Builder> compliantSummary) A list of COMPLIANT items for the specified compliance type.compliantSummary(CompliantSummary compliantSummary) A list of COMPLIANT items for the specified compliance type.default ComplianceSummaryItem.BuildernonCompliantSummary(Consumer<NonCompliantSummary.Builder> nonCompliantSummary) A list of NON_COMPLIANT items for the specified compliance type.nonCompliantSummary(NonCompliantSummary nonCompliantSummary) A list of NON_COMPLIANT items for the specified 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
-
complianceType
The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.
- Parameters:
complianceType- The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliantSummary
A list of COMPLIANT items for the specified compliance type.
- Parameters:
compliantSummary- A list of COMPLIANT items for the specified compliance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliantSummary
default ComplianceSummaryItem.Builder compliantSummary(Consumer<CompliantSummary.Builder> compliantSummary) A list of COMPLIANT items for the specified compliance type.
This is a convenience method that creates an instance of theCompliantSummary.Builderavoiding the need to create one manually viaCompliantSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompliantSummary(CompliantSummary).- Parameters:
compliantSummary- a consumer that will call methods onCompliantSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nonCompliantSummary
A list of NON_COMPLIANT items for the specified compliance type.
- Parameters:
nonCompliantSummary- A list of NON_COMPLIANT items for the specified compliance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nonCompliantSummary
default ComplianceSummaryItem.Builder nonCompliantSummary(Consumer<NonCompliantSummary.Builder> nonCompliantSummary) A list of NON_COMPLIANT items for the specified compliance type.
This is a convenience method that creates an instance of theNonCompliantSummary.Builderavoiding the need to create one manually viaNonCompliantSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tononCompliantSummary(NonCompliantSummary).- Parameters:
nonCompliantSummary- a consumer that will call methods onNonCompliantSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-