Interface ComplianceItemEntry.Builder

    • Method Detail

      • id

        ComplianceItemEntry.Builder id​(String id)

        The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.

        Parameters:
        id - The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • title

        ComplianceItemEntry.Builder title​(String title)

        The title of the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.

        Parameters:
        title - The title of the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • severity

        ComplianceItemEntry.Builder severity​(String severity)

        The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.

        Parameters:
        severity - The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ComplianceSeverity, ComplianceSeverity
      • severity

        ComplianceItemEntry.Builder severity​(ComplianceSeverity severity)

        The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.

        Parameters:
        severity - The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ComplianceSeverity, ComplianceSeverity
      • status

        ComplianceItemEntry.Builder status​(String status)

        The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.

        Parameters:
        status - The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ComplianceStatus, ComplianceStatus
      • status

        ComplianceItemEntry.Builder status​(ComplianceStatus status)

        The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.

        Parameters:
        status - The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ComplianceStatus, ComplianceStatus
      • details

        ComplianceItemEntry.Builder details​(Map<String,​String> details)

        A "Key": "Value" tag combination for the compliance item.

        Parameters:
        details - A "Key": "Value" tag combination for the compliance item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.