public static interface Compliance.Builder extends CopyableBuilder<Compliance.Builder,Compliance>
Modifier and Type | Method and Description |
---|---|
Compliance.Builder |
complianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT , up to a
maximum number. |
default Compliance.Builder |
complianceContributorCount(Consumer<ComplianceContributorCount.Builder> complianceContributorCount)
The number of AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT , up to a
maximum number. |
Compliance.Builder |
complianceType(ComplianceType complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
|
Compliance.Builder |
complianceType(String complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
|
copy
applyMutation, build
Compliance.Builder complianceType(String complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA
value when no evaluation results are available for the
AWS resource or Config rule.
For the Compliance
data type, AWS Config supports only COMPLIANT
,
NON_COMPLIANT
, and INSUFFICIENT_DATA
values. AWS Config does not support the
NOT_APPLICABLE
value for the Compliance
data type.
complianceType
- Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA
value when no evaluation results are available
for the AWS resource or Config rule.
For the Compliance
data type, AWS Config supports only COMPLIANT
,
NON_COMPLIANT
, and INSUFFICIENT_DATA
values. AWS Config does not support the
NOT_APPLICABLE
value for the Compliance
data type.
ComplianceType
,
ComplianceType
Compliance.Builder complianceType(ComplianceType complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA
value when no evaluation results are available for the
AWS resource or Config rule.
For the Compliance
data type, AWS Config supports only COMPLIANT
,
NON_COMPLIANT
, and INSUFFICIENT_DATA
values. AWS Config does not support the
NOT_APPLICABLE
value for the Compliance
data type.
complianceType
- Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA
value when no evaluation results are available
for the AWS resource or Config rule.
For the Compliance
data type, AWS Config supports only COMPLIANT
,
NON_COMPLIANT
, and INSUFFICIENT_DATA
values. AWS Config does not support the
NOT_APPLICABLE
value for the Compliance
data type.
ComplianceType
,
ComplianceType
Compliance.Builder complianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT
, up to a
maximum number.
complianceContributorCount
- The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT
, up
to a maximum number.default Compliance.Builder complianceContributorCount(Consumer<ComplianceContributorCount.Builder> complianceContributorCount)
The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT
, up to a
maximum number.
ComplianceContributorCount.Builder
avoiding the
need to create one manually via ComplianceContributorCount.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to complianceContributorCount(ComplianceContributorCount)
.complianceContributorCount
- a consumer that will call methods on ComplianceContributorCount.Builder
complianceContributorCount(ComplianceContributorCount)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.