Interface ComplianceSummaryItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComplianceSummaryItem.Builder,
,ComplianceSummaryItem> SdkBuilder<ComplianceSummaryItem.Builder,
,ComplianceSummaryItem> SdkPojo
- Enclosing class:
ComplianceSummaryItem
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.Builder
compliantSummary
(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.Builder
nonCompliantSummary
(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
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
-
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.Builder
avoiding the need to create one manually viaCompliantSummary.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaNonCompliantSummary.builder()
.When the
Consumer
completes,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:
-