@Generated(value="software.amazon.awssdk:codegen") public final class Compliance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Compliance.Builder,Compliance>
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Compliance.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Compliance.Builder |
builder() |
ComplianceContributorCount |
complianceContributorCount()
The number of Amazon Web Services resources or Config rules that cause a result of
NON_COMPLIANT, up
to a maximum number. |
ComplianceType |
complianceType()
Indicates whether an Amazon Web Services resource or Config rule is compliant.
|
String |
complianceTypeAsString()
Indicates whether an Amazon Web Services resource or Config rule is compliant.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Compliance.Builder> |
serializableBuilderClass() |
Compliance.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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_DATA value when no evaluation results are available for the Amazon
Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
If the service returns an enum value that is not available in the current SDK version, complianceType
will return ComplianceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from complianceTypeAsString().
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_DATA value when no evaluation results are available for the
Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic final String complianceTypeAsString()
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_DATA value when no evaluation results are available for the Amazon
Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
If the service returns an enum value that is not available in the current SDK version, complianceType
will return ComplianceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from complianceTypeAsString().
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_DATA value when no evaluation results are available for the
Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic final ComplianceContributorCount complianceContributorCount()
The number of Amazon Web Services resources or Config rules that cause a result of NON_COMPLIANT, up
to a maximum number.
NON_COMPLIANT, up to a maximum number.public Compliance.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Compliance.Builder,Compliance>public static Compliance.Builder builder()
public static Class<? extends Compliance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.