Interface ComplianceSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ComplianceSummary.Builder,,ComplianceSummary> SdkBuilder<ComplianceSummary.Builder,,ComplianceSummary> SdkPojo
- Enclosing class:
ComplianceSummary
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceSummaryTimestamp(Instant complianceSummaryTimestamp) The time that Config created the compliance summary.default ComplianceSummary.BuildercompliantResourceCount(Consumer<ComplianceContributorCount.Builder> compliantResourceCount) The number of Config rules or Amazon Web Services resources that are compliant, up to a maximum of 25 for rules and 100 for resources.compliantResourceCount(ComplianceContributorCount compliantResourceCount) The number of Config rules or Amazon Web Services resources that are compliant, up to a maximum of 25 for rules and 100 for resources.default ComplianceSummary.BuildernonCompliantResourceCount(Consumer<ComplianceContributorCount.Builder> nonCompliantResourceCount) The number of Config rules or Amazon Web Services resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.nonCompliantResourceCount(ComplianceContributorCount nonCompliantResourceCount) The number of Config rules or Amazon Web Services resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.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, sdkFields
-
Method Details
-
compliantResourceCount
The number of Config rules or Amazon Web Services resources that are compliant, up to a maximum of 25 for rules and 100 for resources.
- Parameters:
compliantResourceCount- The number of Config rules or Amazon Web Services resources that are compliant, up to a maximum of 25 for rules and 100 for resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliantResourceCount
default ComplianceSummary.Builder compliantResourceCount(Consumer<ComplianceContributorCount.Builder> compliantResourceCount) The number of Config rules or Amazon Web Services resources that are compliant, up to a maximum of 25 for rules and 100 for resources.
This is a convenience method that creates an instance of theComplianceContributorCount.Builderavoiding the need to create one manually viaComplianceContributorCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompliantResourceCount(ComplianceContributorCount).- Parameters:
compliantResourceCount- a consumer that will call methods onComplianceContributorCount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nonCompliantResourceCount
ComplianceSummary.Builder nonCompliantResourceCount(ComplianceContributorCount nonCompliantResourceCount) The number of Config rules or Amazon Web Services resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
- Parameters:
nonCompliantResourceCount- The number of Config rules or Amazon Web Services resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nonCompliantResourceCount
default ComplianceSummary.Builder nonCompliantResourceCount(Consumer<ComplianceContributorCount.Builder> nonCompliantResourceCount) The number of Config rules or Amazon Web Services resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
This is a convenience method that creates an instance of theComplianceContributorCount.Builderavoiding the need to create one manually viaComplianceContributorCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tononCompliantResourceCount(ComplianceContributorCount).- Parameters:
nonCompliantResourceCount- a consumer that will call methods onComplianceContributorCount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
complianceSummaryTimestamp
The time that Config created the compliance summary.
- Parameters:
complianceSummaryTimestamp- The time that Config created the compliance summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-