Interface Compliance.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Compliance.Builder,,Compliance> SdkBuilder<Compliance.Builder,,Compliance> SdkPojo
- Enclosing class:
Compliance
-
Method Summary
Modifier and TypeMethodDescriptiondefault Compliance.BuildercomplianceContributorCount(Consumer<ComplianceContributorCount.Builder> complianceContributorCount) The number of Amazon Web Services resources or Config rules that cause a result ofNON_COMPLIANT, up to a maximum number.complianceContributorCount(ComplianceContributorCount complianceContributorCount) The number of Amazon Web Services resources or Config rules that cause a result ofNON_COMPLIANT, up to a maximum number.complianceType(String complianceType) Indicates whether an Amazon Web Services resource or Config rule is compliant.complianceType(ComplianceType complianceType) Indicates whether an Amazon Web Services resource or Config rule is compliant.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
-
complianceType
Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the
INSUFFICIENT_DATAvalue when no evaluation results are available for the Amazon Web Services resource or Config rule.For the
Compliancedata type, Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Parameters:
complianceType- Indicates whether an Amazon Web Services resource or Config rule is compliant.A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the
INSUFFICIENT_DATAvalue when no evaluation results are available for the Amazon Web Services resource or Config rule.For the
Compliancedata type, Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
complianceType
Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the
INSUFFICIENT_DATAvalue when no evaluation results are available for the Amazon Web Services resource or Config rule.For the
Compliancedata type, Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Parameters:
complianceType- Indicates whether an Amazon Web Services resource or Config rule is compliant.A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the
INSUFFICIENT_DATAvalue when no evaluation results are available for the Amazon Web Services resource or Config rule.For the
Compliancedata type, Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
complianceContributorCount
Compliance.Builder complianceContributorCount(ComplianceContributorCount complianceContributorCount) The number of Amazon Web Services resources or Config rules that cause a result of
NON_COMPLIANT, up to a maximum number.- Parameters:
complianceContributorCount- The number of Amazon Web Services resources or Config rules that cause a result ofNON_COMPLIANT, up to a maximum number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceContributorCount
default Compliance.Builder complianceContributorCount(Consumer<ComplianceContributorCount.Builder> complianceContributorCount) The number of Amazon Web Services resources or Config rules that cause a result of
This is a convenience method that creates an instance of theNON_COMPLIANT, up to a maximum number.ComplianceContributorCount.Builderavoiding the need to create one manually viaComplianceContributorCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomplianceContributorCount(ComplianceContributorCount).- Parameters:
complianceContributorCount- 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:
-