@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.
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)
Marshalls this structured data using the given
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.ComplianceStatus
public String getStatus()
The result of a compliance check.
ComplianceStatus
public Compliance withStatus(String status)
The result of a compliance check.
status
- The result of a compliance check.ComplianceStatus
public Compliance withStatus(ComplianceStatus status)
The result of a compliance check.
status
- The result of a compliance check.ComplianceStatus
public String toString()
toString
in class Object
Object.toString()
public Compliance 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.