Interface AuditCheckDetails.Builder

    • Method Detail

      • checkRunStatus

        AuditCheckDetails.Builder checkRunStatus​(String checkRunStatus)

        The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".

        Parameters:
        checkRunStatus - The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditCheckRunStatus, AuditCheckRunStatus
      • checkRunStatus

        AuditCheckDetails.Builder checkRunStatus​(AuditCheckRunStatus checkRunStatus)

        The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".

        Parameters:
        checkRunStatus - The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditCheckRunStatus, AuditCheckRunStatus
      • checkCompliant

        AuditCheckDetails.Builder checkCompliant​(Boolean checkCompliant)

        True if the check is complete and found all resources compliant.

        Parameters:
        checkCompliant - True if the check is complete and found all resources compliant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalResourcesCount

        AuditCheckDetails.Builder totalResourcesCount​(Long totalResourcesCount)

        The number of resources on which the check was performed.

        Parameters:
        totalResourcesCount - The number of resources on which the check was performed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nonCompliantResourcesCount

        AuditCheckDetails.Builder nonCompliantResourcesCount​(Long nonCompliantResourcesCount)

        The number of resources that were found noncompliant during the check.

        Parameters:
        nonCompliantResourcesCount - The number of resources that were found noncompliant during the check.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • suppressedNonCompliantResourcesCount

        AuditCheckDetails.Builder suppressedNonCompliantResourcesCount​(Long suppressedNonCompliantResourcesCount)

        Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.

        Parameters:
        suppressedNonCompliantResourcesCount - Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorCode

        AuditCheckDetails.Builder errorCode​(String errorCode)

        The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".

        Parameters:
        errorCode - The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        AuditCheckDetails.Builder message​(String message)

        The message associated with any error encountered when this check is performed during this audit.

        Parameters:
        message - The message associated with any error encountered when this check is performed during this audit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.