public AwsSecurityFinding withSeverity(Severity severity) {
        setSeverity(severity);
        return this;
    }
<p>
A finding's severity.
</p>

@param severity
       A finding's severity.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsSecurityFinding.java