public static interface ComplianceSummaryItem.Builder extends SdkPojo, CopyableBuilder<ComplianceSummaryItem.Builder,ComplianceSummaryItem>
Modifier and Type | Method and Description |
---|---|
ComplianceSummaryItem.Builder |
complianceType(String complianceType)
The type of compliance item.
|
ComplianceSummaryItem.Builder |
compliantSummary(CompliantSummary compliantSummary)
A list of COMPLIANT items for the specified compliance type.
|
default ComplianceSummaryItem.Builder |
compliantSummary(Consumer<CompliantSummary.Builder> 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.
|
ComplianceSummaryItem.Builder |
nonCompliantSummary(NonCompliantSummary nonCompliantSummary)
A list of NON_COMPLIANT items for the specified compliance type.
|
copy
applyMutation, build
ComplianceSummaryItem.Builder complianceType(String complianceType)
The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.
complianceType
- The type of compliance item. For example, the compliance type can be Association, Patch, or
Custom:string.ComplianceSummaryItem.Builder compliantSummary(CompliantSummary compliantSummary)
A list of COMPLIANT items for the specified compliance type.
compliantSummary
- A list of COMPLIANT items for the specified compliance type.default ComplianceSummaryItem.Builder compliantSummary(Consumer<CompliantSummary.Builder> compliantSummary)
A list of COMPLIANT items for the specified compliance type.
This is a convenience that creates an instance of theCompliantSummary.Builder
avoiding the need to
create one manually via CompliantSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to compliantSummary(CompliantSummary)
.compliantSummary
- a consumer that will call methods on CompliantSummary.Builder
compliantSummary(CompliantSummary)
ComplianceSummaryItem.Builder nonCompliantSummary(NonCompliantSummary nonCompliantSummary)
A list of NON_COMPLIANT items for the specified compliance type.
nonCompliantSummary
- A list of NON_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.
This is a convenience that creates an instance of theNonCompliantSummary.Builder
avoiding the need
to create one manually via NonCompliantSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to nonCompliantSummary(NonCompliantSummary)
.nonCompliantSummary
- a consumer that will call methods on NonCompliantSummary.Builder
nonCompliantSummary(NonCompliantSummary)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.