public Patch withSeverity(String severity) {
        setSeverity(severity);
        return this;
    }
<p>
The severity level of the patch. For example, <code>CRITICAL</code> or <code>MODERATE</code>.
</p>

@param severity
       The severity level of the patch. For example, <code>CRITICAL</code> or <code>MODERATE</code>.
@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/Patch.java