Class AggregateComplianceByConfigRule
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.AggregateComplianceByConfigRule
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AggregateComplianceByConfigRule.Builder,AggregateComplianceByConfigRule>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAggregateComplianceByConfigRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The 12-digit account ID of the source account.StringawsRegion()The source region from where the data is aggregated.static AggregateComplianceByConfigRule.Builderbuilder()Compliancecompliance()Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.StringconfigRuleName()The name of the Config rule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AggregateComplianceByConfigRule.Builder>serializableBuilderClass()AggregateComplianceByConfigRule.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
configRuleName
public final String configRuleName()
The name of the Config rule.
- Returns:
- The name of the Config rule.
-
compliance
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.
- Returns:
- Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
-
accountId
public final String accountId()
The 12-digit account ID of the source account.
- Returns:
- The 12-digit account ID of the source account.
-
awsRegion
public final String awsRegion()
The source region from where the data is aggregated.
- Returns:
- The source region from where the data is aggregated.
-
toBuilder
public AggregateComplianceByConfigRule.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AggregateComplianceByConfigRule.Builder,AggregateComplianceByConfigRule>
-
builder
public static AggregateComplianceByConfigRule.Builder builder()
-
serializableBuilderClass
public static Class<? extends AggregateComplianceByConfigRule.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-