public ComplianceItem withComplianceType(String complianceType) {
        setComplianceType(complianceType);
        return this;
    }
<p>
The compliance type. For example, Association (for a State Manager association), Patch, or Custom:
<code>string</code> are all valid compliance types.
</p>

@param complianceType
       The compliance type. For example, Association (for a State Manager association), Patch, or Custom:
       <code>string</code> are all valid compliance types.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ComplianceItem.java