public class AuditCheckDetails
extends java.lang.Object
implements java.io.Serializable
Information about the audit check.
Constructor and Description |
---|
AuditCheckDetails() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCheckCompliant()
True if the check is complete and found all resources compliant.
|
java.lang.String |
getCheckRunStatus()
The completion status of this check.
|
java.lang.String |
getErrorCode()
The code of any error encountered when this check is performed during
this audit.
|
java.lang.String |
getMessage()
The message associated with any error encountered when this check is
performed during this audit.
|
java.lang.Long |
getNonCompliantResourcesCount()
The number of resources that were found noncompliant during the check.
|
java.lang.Long |
getSuppressedNonCompliantResourcesCount()
Describes how many of the non-compliant resources created during the
evaluation of an audit check were marked as suppressed.
|
java.lang.Long |
getTotalResourcesCount()
The number of resources on which the check was performed.
|
int |
hashCode() |
java.lang.Boolean |
isCheckCompliant()
True if the check is complete and found all resources compliant.
|
void |
setCheckCompliant(java.lang.Boolean checkCompliant)
True if the check is complete and found all resources compliant.
|
void |
setCheckRunStatus(AuditCheckRunStatus checkRunStatus)
The completion status of this check.
|
void |
setCheckRunStatus(java.lang.String checkRunStatus)
The completion status of this check.
|
void |
setErrorCode(java.lang.String errorCode)
The code of any error encountered when this check is performed during
this audit.
|
void |
setMessage(java.lang.String message)
The message associated with any error encountered when this check is
performed during this audit.
|
void |
setNonCompliantResourcesCount(java.lang.Long nonCompliantResourcesCount)
The number of resources that were found noncompliant during the check.
|
void |
setSuppressedNonCompliantResourcesCount(java.lang.Long suppressedNonCompliantResourcesCount)
Describes how many of the non-compliant resources created during the
evaluation of an audit check were marked as suppressed.
|
void |
setTotalResourcesCount(java.lang.Long totalResourcesCount)
The number of resources on which the check was performed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuditCheckDetails |
withCheckCompliant(java.lang.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(java.lang.String checkRunStatus)
The completion status of this check.
|
AuditCheckDetails |
withErrorCode(java.lang.String errorCode)
The code of any error encountered when this check is performed during
this audit.
|
AuditCheckDetails |
withMessage(java.lang.String message)
The message associated with any error encountered when this check is
performed during this audit.
|
AuditCheckDetails |
withNonCompliantResourcesCount(java.lang.Long nonCompliantResourcesCount)
The number of resources that were found noncompliant during the check.
|
AuditCheckDetails |
withSuppressedNonCompliantResourcesCount(java.lang.Long suppressedNonCompliantResourcesCount)
Describes how many of the non-compliant resources created during the
evaluation of an audit check were marked as suppressed.
|
AuditCheckDetails |
withTotalResourcesCount(java.lang.Long totalResourcesCount)
The number of resources on which the check was performed.
|
public java.lang.String getCheckRunStatus()
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
Constraints:
Allowed Values: IN_PROGRESS, WAITING_FOR_DATA_COLLECTION,
CANCELED, COMPLETED_COMPLIANT, COMPLETED_NON_COMPLIANT, FAILED
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 setCheckRunStatus(java.lang.String checkRunStatus)
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
Constraints:
Allowed Values: IN_PROGRESS, WAITING_FOR_DATA_COLLECTION,
CANCELED, COMPLETED_COMPLIANT, COMPLETED_NON_COMPLIANT, 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(java.lang.String checkRunStatus)
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, WAITING_FOR_DATA_COLLECTION,
CANCELED, COMPLETED_COMPLIANT, COMPLETED_NON_COMPLIANT, 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 setCheckRunStatus(AuditCheckRunStatus checkRunStatus)
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
Constraints:
Allowed Values: IN_PROGRESS, WAITING_FOR_DATA_COLLECTION,
CANCELED, COMPLETED_COMPLIANT, COMPLETED_NON_COMPLIANT, 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".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, WAITING_FOR_DATA_COLLECTION,
CANCELED, COMPLETED_COMPLIANT, COMPLETED_NON_COMPLIANT, 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 java.lang.Boolean isCheckCompliant()
True if the check is complete and found all resources compliant.
True if the check is complete and found all resources compliant.
public java.lang.Boolean getCheckCompliant()
True if the check is complete and found all resources compliant.
True if the check is complete and found all resources compliant.
public void setCheckCompliant(java.lang.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 AuditCheckDetails withCheckCompliant(java.lang.Boolean checkCompliant)
True if the check is complete and found all resources compliant.
Returns a reference to this object so that method calls can be chained together.
checkCompliant
- True if the check is complete and found all resources compliant.
public java.lang.Long getTotalResourcesCount()
The number of resources on which the check was performed.
The number of resources on which the check was performed.
public void setTotalResourcesCount(java.lang.Long totalResourcesCount)
The number of resources on which the check was performed.
totalResourcesCount
- The number of resources on which the check was performed.
public AuditCheckDetails withTotalResourcesCount(java.lang.Long totalResourcesCount)
The number of resources on which the check was performed.
Returns a reference to this object so that method calls can be chained together.
totalResourcesCount
- The number of resources on which the check was performed.
public java.lang.Long getNonCompliantResourcesCount()
The number of resources that were found noncompliant during the check.
The number of resources that were found noncompliant during the check.
public void setNonCompliantResourcesCount(java.lang.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 AuditCheckDetails withNonCompliantResourcesCount(java.lang.Long nonCompliantResourcesCount)
The number of resources that were found noncompliant during the check.
Returns a reference to this object so that method calls can be chained together.
nonCompliantResourcesCount
- The number of resources that were found noncompliant during the check.
public java.lang.Long getSuppressedNonCompliantResourcesCount()
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
public void setSuppressedNonCompliantResourcesCount(java.lang.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 AuditCheckDetails withSuppressedNonCompliantResourcesCount(java.lang.Long suppressedNonCompliantResourcesCount)
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
Returns a reference to this object so that method calls can be chained together.
suppressedNonCompliantResourcesCount
- Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
public java.lang.String getErrorCode()
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
public void setErrorCode(java.lang.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 AuditCheckDetails withErrorCode(java.lang.String errorCode)
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
Returns a reference to this object so that method calls can be chained together.
errorCode
- The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
public java.lang.String getMessage()
The message associated with any error encountered when this check is performed during this audit.
Constraints:
Length: - 2048
The message associated with any error encountered when this check is performed during this audit.
public void setMessage(java.lang.String message)
The message associated with any error encountered when this check is performed during this audit.
Constraints:
Length: - 2048
message
- The message associated with any error encountered when this check is performed during this audit.
public AuditCheckDetails withMessage(java.lang.String message)
The message associated with any error encountered when this check is performed during this audit.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
message
- The message associated with any error encountered when this check is performed during this audit.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.