public PortRange withMaxRange(Integer maxRange) {
        setMaxRange(maxRange);
        return this;
    }
<p>
The smallest port number in a specified range of port numbers.
</p>

@param maxRange
       The smallest port number in a specified range of port numbers.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/PortRange.java