@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, CIS AWS Foundations). Contains compliance-related finding details.
Values include the following:
Allowed values are the following:
PASSED - Compliance check passed for all evaluated resources.
WARNING - Some information is missing or this check is not supported given your configuration.
FAILED - Compliance check failed for at least one evaluated resource.
NOT_AVAILABLE - Check could not be performed due to a service outage or API error.
| Constructor and Description |
|---|
Compliance() |
| Modifier and Type | Method and Description |
|---|---|
Compliance |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The result of a compliance check.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setStatus(String status)
The result of a compliance check.
|
String |
toString()
Returns a string representation of this object.
|
Compliance |
withStatus(ComplianceStatus status)
The result of a compliance check.
|
Compliance |
withStatus(String status)
The result of a compliance check.
|
public void setStatus(String status)
The result of a compliance check.
status - The result of a compliance check.ComplianceStatuspublic String getStatus()
The result of a compliance check.
ComplianceStatuspublic Compliance withStatus(String status)
The result of a compliance check.
status - The result of a compliance check.ComplianceStatuspublic Compliance withStatus(ComplianceStatus status)
The result of a compliance check.
status - 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 © 2020. All rights reserved.