@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Compliance extends Object implements Serializable, Cloneable, StructuredPojo
Exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard (for example, AWS CIS Foundations). Contains compliance-related finding details.
| Constructor and Description |
|---|
Compliance() |
| Modifier and Type | Method and Description |
|---|---|
Compliance |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Indicates the result of a compliance check.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setStatus(String status)
Indicates the result of a compliance check.
|
String |
toString()
Returns a string representation of this object.
|
Compliance |
withStatus(ComplianceStatus status)
Indicates the result of a compliance check.
|
Compliance |
withStatus(String status)
Indicates the result of a compliance check.
|
public void setStatus(String status)
Indicates the result of a compliance check.
status - Indicates the result of a compliance check.ComplianceStatuspublic String getStatus()
Indicates the result of a compliance check.
ComplianceStatuspublic Compliance withStatus(String status)
Indicates the result of a compliance check.
status - Indicates the result of a compliance check.ComplianceStatuspublic Compliance withStatus(ComplianceStatus status)
Indicates the result of a compliance check.
status - Indicates the result of a compliance check.ComplianceStatuspublic String toString()
toString in class ObjectObject.toString()public Compliance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.