Interface Compliance.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Compliance.Builder,,- Compliance> - SdkBuilder<Compliance.Builder,,- Compliance> - SdkPojo
- Enclosing class:
- Compliance
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
complianceTypeIndicates 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 only- COMPLIANT,- NON_COMPLIANT, and- INSUFFICIENT_DATAvalues. Config does not support the- NOT_APPLICABLEvalue for the- Compliancedata type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
complianceTypeIndicates 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 only- COMPLIANT,- NON_COMPLIANT, and- INSUFFICIENT_DATAvalues. Config does not support the- NOT_APPLICABLEvalue for the- Compliancedata type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
complianceContributorCountCompliance.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 of- NON_COMPLIANT, up to a maximum number.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
complianceContributorCountdefault 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 on- ComplianceContributorCount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-