public AntipatternSeveritySummary withSeverity(String severity) {
        setSeverity(severity);
        return this;
    }
<p>
Contains the severity of anti-patterns.
</p>

@param severity
       Contains the severity of anti-patterns.
@return Returns a reference to this object so that method calls can be chained together.
@see Severity
aws-java-sdk-migrationhubstrategyrecommendations/src/main/java/com/amazonaws/services/migrationhubstrategyrecommendations/model/AntipatternSeveritySummary.java