public ComplianceItem withStatus(ComplianceStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows
patches that aren't applicable).
</p>

@param status
       The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for
       Windows patches that aren't applicable).
@return Returns a reference to this object so that method calls can be chained together.
@see ComplianceStatus
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ComplianceItem.java