public ComplianceSummaryItem withComplianceType(String complianceType) {
        setComplianceType(complianceType);
        return this;
    }
<p>
The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.
</p>

@param complianceType
       The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.
@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/ComplianceSummaryItem.java