@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuditCheckDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about the audit check.
Constructor and Description |
---|
AuditCheckDetails() |
Modifier and Type | Method and Description |
---|---|
AuditCheckDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCheckCompliant()
True if the check is complete and found all resources compliant.
|
String |
getCheckRunStatus()
The completion status of this check.
|
String |
getErrorCode()
The code of any error encountered when this check is performed during this audit.
|
String |
getMessage()
The message associated with any error encountered when this check is performed during this audit.
|
Long |
getNonCompliantResourcesCount()
The number of resources that were found noncompliant during the check.
|
Long |
getSuppressedNonCompliantResourcesCount()
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as
suppressed.
|
Long |
getTotalResourcesCount()
The number of resources on which the check was performed.
|
int |
hashCode() |
Boolean |
isCheckCompliant()
True if the check is complete and found all resources compliant.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCheckCompliant(Boolean checkCompliant)
True if the check is complete and found all resources compliant.
|
void |
setCheckRunStatus(String checkRunStatus)
The completion status of this check.
|
void |
setErrorCode(String errorCode)
The code of any error encountered when this check is performed during this audit.
|
void |
setMessage(String message)
The message associated with any error encountered when this check is performed during this audit.
|
void |
setNonCompliantResourcesCount(Long nonCompliantResourcesCount)
The number of resources that were found noncompliant during the check.
|
void |
setSuppressedNonCompliantResourcesCount(Long suppressedNonCompliantResourcesCount)
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as
suppressed.
|
void |
setTotalResourcesCount(Long totalResourcesCount)
The number of resources on which the check was performed.
|
String |
toString()
Returns a string representation of this object.
|
AuditCheckDetails |
withCheckCompliant(Boolean checkCompliant)
True if the check is complete and found all resources compliant.
|
AuditCheckDetails |
withCheckRunStatus(AuditCheckRunStatus checkRunStatus)
The completion status of this check.
|
AuditCheckDetails |
withCheckRunStatus(String checkRunStatus)
The completion status of this check.
|
AuditCheckDetails |
withErrorCode(String errorCode)
The code of any error encountered when this check is performed during this audit.
|
AuditCheckDetails |
withMessage(String message)
The message associated with any error encountered when this check is performed during this audit.
|
AuditCheckDetails |
withNonCompliantResourcesCount(Long nonCompliantResourcesCount)
The number of resources that were found noncompliant during the check.
|
AuditCheckDetails |
withSuppressedNonCompliantResourcesCount(Long suppressedNonCompliantResourcesCount)
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as
suppressed.
|
AuditCheckDetails |
withTotalResourcesCount(Long totalResourcesCount)
The number of resources on which the check was performed.
|
public void setCheckRunStatus(String checkRunStatus)
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
checkRunStatus
- The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED",
"COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".AuditCheckRunStatus
public String getCheckRunStatus()
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
AuditCheckRunStatus
public AuditCheckDetails withCheckRunStatus(String checkRunStatus)
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
checkRunStatus
- The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED",
"COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".AuditCheckRunStatus
public AuditCheckDetails withCheckRunStatus(AuditCheckRunStatus checkRunStatus)
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
checkRunStatus
- The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED",
"COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".AuditCheckRunStatus
public void setCheckCompliant(Boolean checkCompliant)
True if the check is complete and found all resources compliant.
checkCompliant
- True if the check is complete and found all resources compliant.public Boolean getCheckCompliant()
True if the check is complete and found all resources compliant.
public AuditCheckDetails withCheckCompliant(Boolean checkCompliant)
True if the check is complete and found all resources compliant.
checkCompliant
- True if the check is complete and found all resources compliant.public Boolean isCheckCompliant()
True if the check is complete and found all resources compliant.
public void setTotalResourcesCount(Long totalResourcesCount)
The number of resources on which the check was performed.
totalResourcesCount
- The number of resources on which the check was performed.public Long getTotalResourcesCount()
The number of resources on which the check was performed.
public AuditCheckDetails withTotalResourcesCount(Long totalResourcesCount)
The number of resources on which the check was performed.
totalResourcesCount
- The number of resources on which the check was performed.public void setNonCompliantResourcesCount(Long nonCompliantResourcesCount)
The number of resources that were found noncompliant during the check.
nonCompliantResourcesCount
- The number of resources that were found noncompliant during the check.public Long getNonCompliantResourcesCount()
The number of resources that were found noncompliant during the check.
public AuditCheckDetails withNonCompliantResourcesCount(Long nonCompliantResourcesCount)
The number of resources that were found noncompliant during the check.
nonCompliantResourcesCount
- The number of resources that were found noncompliant during the check.public void setSuppressedNonCompliantResourcesCount(Long suppressedNonCompliantResourcesCount)
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
suppressedNonCompliantResourcesCount
- Describes how many of the non-compliant resources created during the evaluation of an audit check were
marked as suppressed.public Long getSuppressedNonCompliantResourcesCount()
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
public AuditCheckDetails withSuppressedNonCompliantResourcesCount(Long suppressedNonCompliantResourcesCount)
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
suppressedNonCompliantResourcesCount
- Describes how many of the non-compliant resources created during the evaluation of an audit check were
marked as suppressed.public void setErrorCode(String errorCode)
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
errorCode
- The code of any error encountered when this check is performed during this audit. One of
"INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".public String getErrorCode()
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
public AuditCheckDetails withErrorCode(String errorCode)
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
errorCode
- The code of any error encountered when this check is performed during this audit. One of
"INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".public void setMessage(String message)
The message associated with any error encountered when this check is performed during this audit.
message
- The message associated with any error encountered when this check is performed during this audit.public String getMessage()
The message associated with any error encountered when this check is performed during this audit.
public AuditCheckDetails withMessage(String message)
The message associated with any error encountered when this check is performed during this audit.
message
- The message associated with any error encountered when this check is performed during this audit.public String toString()
toString
in class Object
Object.toString()
public AuditCheckDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.