@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregateComplianceByConfigRule extends Object implements Serializable, Cloneable, StructuredPojo
Indicates whether an AWS 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.
Constructor and Description |
---|
AggregateComplianceByConfigRule() |
Modifier and Type | Method and Description |
---|---|
AggregateComplianceByConfigRule |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The 12-digit account ID of the source account.
|
String |
getAwsRegion()
The source region from where the data is aggregated.
|
Compliance |
getCompliance()
Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that
affect the compliance.
|
String |
getConfigRuleName()
The name of the AWS Config rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The 12-digit account ID of the source account.
|
void |
setAwsRegion(String awsRegion)
The source region from where the data is aggregated.
|
void |
setCompliance(Compliance compliance)
Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that
affect the compliance.
|
void |
setConfigRuleName(String configRuleName)
The name of the AWS Config rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AggregateComplianceByConfigRule |
withAccountId(String accountId)
The 12-digit account ID of the source account.
|
AggregateComplianceByConfigRule |
withAwsRegion(String awsRegion)
The source region from where the data is aggregated.
|
AggregateComplianceByConfigRule |
withCompliance(Compliance compliance)
Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that
affect the compliance.
|
AggregateComplianceByConfigRule |
withConfigRuleName(String configRuleName)
The name of the AWS Config rule.
|
public void setConfigRuleName(String configRuleName)
The name of the AWS Config rule.
configRuleName
- The name of the AWS Config rule.public String getConfigRuleName()
The name of the AWS Config rule.
public AggregateComplianceByConfigRule withConfigRuleName(String configRuleName)
The name of the AWS Config rule.
configRuleName
- The name of the AWS Config rule.public void setCompliance(Compliance compliance)
Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.
compliance
- Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors
that affect the compliance.public Compliance getCompliance()
Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.
public AggregateComplianceByConfigRule withCompliance(Compliance compliance)
Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.
compliance
- Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors
that affect the compliance.public void setAccountId(String accountId)
The 12-digit account ID of the source account.
accountId
- The 12-digit account ID of the source account.public String getAccountId()
The 12-digit account ID of the source account.
public AggregateComplianceByConfigRule withAccountId(String accountId)
The 12-digit account ID of the source account.
accountId
- The 12-digit account ID of the source account.public void setAwsRegion(String awsRegion)
The source region from where the data is aggregated.
awsRegion
- The source region from where the data is aggregated.public String getAwsRegion()
The source region from where the data is aggregated.
public AggregateComplianceByConfigRule withAwsRegion(String awsRegion)
The source region from where the data is aggregated.
awsRegion
- The source region from where the data is aggregated.public String toString()
toString
in class Object
Object.toString()
public AggregateComplianceByConfigRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.