@Generated(value="software.amazon.awssdk:codegen") public final class AggregateComplianceByConfigRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregateComplianceByConfigRule.Builder,AggregateComplianceByConfigRule>
Indicates whether an Config rule is compliant based on account ID, region, compliance, and rule name.
A rule is compliant if all of the resources that the rule evaluated comply with it. It is noncompliant if any of these resources do not comply.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AggregateComplianceByConfigRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The 12-digit account ID of the source account.
|
String |
awsRegion()
The source region from where the data is aggregated.
|
static AggregateComplianceByConfigRule.Builder |
builder() |
Compliance |
compliance()
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of
contributors that affect the compliance.
|
String |
configRuleName()
The name of the Config rule.
|
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 AggregateComplianceByConfigRule.Builder> |
serializableBuilderClass() |
AggregateComplianceByConfigRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String configRuleName()
The name of the Config rule.
public final Compliance compliance()
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
public final String accountId()
The 12-digit account ID of the source account.
public final String awsRegion()
The source region from where the data is aggregated.
public AggregateComplianceByConfigRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AggregateComplianceByConfigRule.Builder,AggregateComplianceByConfigRule>public static AggregateComplianceByConfigRule.Builder builder()
public static Class<? extends AggregateComplianceByConfigRule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.