public class AuditCheckDetails extends Object implements Serializable
Information about the audit check.
Constructor and Description |
---|
AuditCheckDetails() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getCheckCompliant()
True if the check completed and found all resources compliant.
|
String |
getCheckRunStatus()
The completion status of this check, one of "IN_PROGRESS",
"WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT",
"COMPLETED_NON_COMPLIANT", or "FAILED".
|
String |
getErrorCode()
The code of any error encountered when performing this check during this
audit.
|
String |
getMessage()
The message associated with any error encountered when performing this
check during this audit.
|
Long |
getNonCompliantResourcesCount()
The number of resources that the check found non-compliant.
|
Long |
getTotalResourcesCount()
The number of resources on which the check was performed.
|
int |
hashCode() |
Boolean |
isCheckCompliant()
True if the check completed and found all resources compliant.
|
void |
setCheckCompliant(Boolean checkCompliant)
True if the check completed and found all resources compliant.
|
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".
|
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".
|
void |
setErrorCode(String errorCode)
The code of any error encountered when performing this check during this
audit.
|
void |
setMessage(String message)
The message associated with any error encountered when performing this
check during this audit.
|
void |
setNonCompliantResourcesCount(Long nonCompliantResourcesCount)
The number of resources that the check found non-compliant.
|
void |
setTotalResourcesCount(Long totalResourcesCount)
The number of resources on which the check was performed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuditCheckDetails |
withCheckCompliant(Boolean checkCompliant)
True if the check completed and found all resources compliant.
|
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".
|
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".
|
AuditCheckDetails |
withErrorCode(String errorCode)
The code of any error encountered when performing this check during this
audit.
|
AuditCheckDetails |
withMessage(String message)
The message associated with any error encountered when performing this
check during this audit.
|
AuditCheckDetails |
withNonCompliantResourcesCount(Long nonCompliantResourcesCount)
The number of resources that the check found non-compliant.
|
AuditCheckDetails |
withTotalResourcesCount(Long totalResourcesCount)
The number of resources on which the check was performed.
|
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".
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(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(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 Boolean isCheckCompliant()
True if the check completed and found all resources compliant.
True if the check completed and found all resources compliant.
public Boolean getCheckCompliant()
True if the check completed and found all resources compliant.
True if the check completed and found all resources compliant.
public void setCheckCompliant(Boolean checkCompliant)
True if the check completed and found all resources compliant.
checkCompliant
- True if the check completed and found all resources compliant.
public AuditCheckDetails withCheckCompliant(Boolean checkCompliant)
True if the check completed and found all resources compliant.
Returns a reference to this object so that method calls can be chained together.
checkCompliant
- True if the check completed and found all resources compliant.
public 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(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(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 Long getNonCompliantResourcesCount()
The number of resources that the check found non-compliant.
The number of resources that the check found non-compliant.
public void setNonCompliantResourcesCount(Long nonCompliantResourcesCount)
The number of resources that the check found non-compliant.
nonCompliantResourcesCount
- The number of resources that the check found non-compliant.
public AuditCheckDetails withNonCompliantResourcesCount(Long nonCompliantResourcesCount)
The number of resources that the check found non-compliant.
Returns a reference to this object so that method calls can be chained together.
nonCompliantResourcesCount
- The number of resources that the check found non-compliant.
public String getErrorCode()
The code of any error encountered when performing this check during this audit. One of "INSUFFICIENT_PERMISSIONS", or "AUDIT_CHECK_DISABLED".
The code of any error encountered when performing this check during this audit. One of "INSUFFICIENT_PERMISSIONS", or "AUDIT_CHECK_DISABLED".
public void setErrorCode(String errorCode)
The code of any error encountered when performing this check during this audit. One of "INSUFFICIENT_PERMISSIONS", or "AUDIT_CHECK_DISABLED".
errorCode
- The code of any error encountered when performing this check during this audit. One of "INSUFFICIENT_PERMISSIONS", or "AUDIT_CHECK_DISABLED".
public AuditCheckDetails withErrorCode(String errorCode)
The code of any error encountered when performing this check 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 performing this check during this audit. One of "INSUFFICIENT_PERMISSIONS", or "AUDIT_CHECK_DISABLED".
public String getMessage()
The message associated with any error encountered when performing this check during this audit.
Constraints:
Length: - 2048
The message associated with any error encountered when performing this check during this audit.
public void setMessage(String message)
The message associated with any error encountered when performing this check during this audit.
Constraints:
Length: - 2048
message
- The message associated with any error encountered when performing this check during this audit.
public AuditCheckDetails withMessage(String message)
The message associated with any error encountered when performing this check 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 performing this check during this audit.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.