public CurrentPerformanceRiskRatings withMedium(Long medium) {
        setMedium(medium);
        return this;
    }
<p>
A count of the applicable resource types with a medium performance risk rating.
</p>

@param medium
       A count of the applicable resource types with a medium performance risk rating.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/CurrentPerformanceRiskRatings.java