public ComplianceItem withId(String id) {
        setId(id);
        return this;
    }
<p>
An ID for the compliance item. For example, if the compliance item is a Windows patch, the ID could be the number
of the KB article; for example: KB4010320.
</p>

@param id
       An ID for the compliance item. For example, if the compliance item is a Windows patch, the ID could be the
       number of the KB article; for example: KB4010320.
@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