@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceSummaryItem extends Object implements Serializable, Cloneable, StructuredPojo
A summary of compliance information by compliance type.
Constructor and Description |
---|
ComplianceSummaryItem() |
Modifier and Type | Method and Description |
---|---|
ComplianceSummaryItem |
clone() |
boolean |
equals(Object obj) |
String |
getComplianceType()
The type of compliance item.
|
CompliantSummary |
getCompliantSummary()
A list of COMPLIANT items for the specified compliance type.
|
NonCompliantSummary |
getNonCompliantSummary()
A list of NON_COMPLIANT items for the specified compliance type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComplianceType(String complianceType)
The type of compliance item.
|
void |
setCompliantSummary(CompliantSummary compliantSummary)
A list of COMPLIANT items for the specified compliance type.
|
void |
setNonCompliantSummary(NonCompliantSummary nonCompliantSummary)
A list of NON_COMPLIANT items for the specified compliance type.
|
String |
toString()
Returns a string representation of this object.
|
ComplianceSummaryItem |
withComplianceType(String complianceType)
The type of compliance item.
|
ComplianceSummaryItem |
withCompliantSummary(CompliantSummary compliantSummary)
A list of COMPLIANT items for the specified compliance type.
|
ComplianceSummaryItem |
withNonCompliantSummary(NonCompliantSummary nonCompliantSummary)
A list of NON_COMPLIANT items for the specified compliance type.
|
public void setComplianceType(String complianceType)
The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.
complianceType
- The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.public String getComplianceType()
The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.
public ComplianceSummaryItem withComplianceType(String complianceType)
The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.
complianceType
- The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.public void setCompliantSummary(CompliantSummary compliantSummary)
A list of COMPLIANT items for the specified compliance type.
compliantSummary
- A list of COMPLIANT items for the specified compliance type.public CompliantSummary getCompliantSummary()
A list of COMPLIANT items for the specified compliance type.
public ComplianceSummaryItem withCompliantSummary(CompliantSummary compliantSummary)
A list of COMPLIANT items for the specified compliance type.
compliantSummary
- A list of COMPLIANT items for the specified compliance type.public void setNonCompliantSummary(NonCompliantSummary nonCompliantSummary)
A list of NON_COMPLIANT items for the specified compliance type.
nonCompliantSummary
- A list of NON_COMPLIANT items for the specified compliance type.public NonCompliantSummary getNonCompliantSummary()
A list of NON_COMPLIANT items for the specified compliance type.
public ComplianceSummaryItem withNonCompliantSummary(NonCompliantSummary nonCompliantSummary)
A list of NON_COMPLIANT items for the specified compliance type.
nonCompliantSummary
- A list of NON_COMPLIANT items for the specified compliance type.public String toString()
toString
in class Object
Object.toString()
public ComplianceSummaryItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.