@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregateComplianceByConformancePack extends Object implements Serializable, Cloneable, StructuredPojo
Provides aggregate compliance of the conformance pack. Indicates whether a conformance pack is compliant based on the name of the conformance pack, account ID, and region.
A conformance pack is compliant if all of the rules in a conformance packs are compliant. It is noncompliant if any of the rules are not compliant. The compliance status of a conformance pack is INSUFFICIENT_DATA only if all rules within a conformance pack cannot be evaluated due to insufficient data. If some of the rules in a conformance pack are compliant but the compliance status of other rules in that same conformance pack is INSUFFICIENT_DATA, the conformance pack shows compliant.
Constructor and Description |
---|
AggregateComplianceByConformancePack() |
Modifier and Type | Method and Description |
---|---|
AggregateComplianceByConformancePack |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The 12-digit Amazon Web Services account ID of the source account.
|
String |
getAwsRegion()
The source Amazon Web Services Region from where the data is aggregated.
|
AggregateConformancePackCompliance |
getCompliance()
The compliance status of the conformance pack.
|
String |
getConformancePackName()
The name of the conformance pack.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The 12-digit Amazon Web Services account ID of the source account.
|
void |
setAwsRegion(String awsRegion)
The source Amazon Web Services Region from where the data is aggregated.
|
void |
setCompliance(AggregateConformancePackCompliance compliance)
The compliance status of the conformance pack.
|
void |
setConformancePackName(String conformancePackName)
The name of the conformance pack.
|
String |
toString()
Returns a string representation of this object.
|
AggregateComplianceByConformancePack |
withAccountId(String accountId)
The 12-digit Amazon Web Services account ID of the source account.
|
AggregateComplianceByConformancePack |
withAwsRegion(String awsRegion)
The source Amazon Web Services Region from where the data is aggregated.
|
AggregateComplianceByConformancePack |
withCompliance(AggregateConformancePackCompliance compliance)
The compliance status of the conformance pack.
|
AggregateComplianceByConformancePack |
withConformancePackName(String conformancePackName)
The name of the conformance pack.
|
public AggregateComplianceByConformancePack()
public void setConformancePackName(String conformancePackName)
The name of the conformance pack.
conformancePackName
- The name of the conformance pack.public String getConformancePackName()
The name of the conformance pack.
public AggregateComplianceByConformancePack withConformancePackName(String conformancePackName)
The name of the conformance pack.
conformancePackName
- The name of the conformance pack.public void setCompliance(AggregateConformancePackCompliance compliance)
The compliance status of the conformance pack.
compliance
- The compliance status of the conformance pack.public AggregateConformancePackCompliance getCompliance()
The compliance status of the conformance pack.
public AggregateComplianceByConformancePack withCompliance(AggregateConformancePackCompliance compliance)
The compliance status of the conformance pack.
compliance
- The compliance status of the conformance pack.public void setAccountId(String accountId)
The 12-digit Amazon Web Services account ID of the source account.
accountId
- The 12-digit Amazon Web Services account ID of the source account.public String getAccountId()
The 12-digit Amazon Web Services account ID of the source account.
public AggregateComplianceByConformancePack withAccountId(String accountId)
The 12-digit Amazon Web Services account ID of the source account.
accountId
- The 12-digit Amazon Web Services account ID of the source account.public void setAwsRegion(String awsRegion)
The source Amazon Web Services Region from where the data is aggregated.
awsRegion
- The source Amazon Web Services Region from where the data is aggregated.public String getAwsRegion()
The source Amazon Web Services Region from where the data is aggregated.
public AggregateComplianceByConformancePack withAwsRegion(String awsRegion)
The source Amazon Web Services Region from where the data is aggregated.
awsRegion
- The source Amazon Web Services Region from where the data is aggregated.public String toString()
toString
in class Object
Object.toString()
public AggregateComplianceByConformancePack clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.