Interface Compliance.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Compliance.Builder,Compliance>,SdkBuilder<Compliance.Builder,Compliance>,SdkPojo
- Enclosing class:
- Compliance
public static interface Compliance.Builder extends SdkPojo, CopyableBuilder<Compliance.Builder,Compliance>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.Compliance.BuildercomplianceContributorCount(ComplianceContributorCount complianceContributorCount)The number of Amazon Web Services resources or Config rules that cause a result ofNON_COMPLIANT, up to a maximum number.Compliance.BuildercomplianceType(String complianceType)Indicates whether an Amazon Web Services resource or Config rule is compliant.Compliance.BuildercomplianceType(ComplianceType complianceType)Indicates whether an Amazon Web Services resource or Config rule is compliant.-
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 Detail
-
complianceType
Compliance.Builder complianceType(String 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,ComplianceType
-
complianceType
Compliance.Builder complianceType(ComplianceType 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,ComplianceType
-
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:
complianceContributorCount(ComplianceContributorCount)
-
-