public void setToPort(Integer toPort) {
        this.toPort = toPort;
    }
<p>
An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to
or greater than <code>FromPort</code>.
</p>
<p>
For fleets using Linux builds, only ports <code>22</code> and <code>1026-60000</code> are valid.
</p>
<p>
For fleets using Windows builds, only ports <code>1026-60000</code> are valid.
</p>

@param toPort
       An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be
       equal to or greater than <code>FromPort</code>.</p>
       <p>
       For fleets using Linux builds, only ports <code>22</code> and <code>1026-60000</code> are valid.
       </p>
       <p>
       For fleets using Windows builds, only ports <code>1026-60000</code> are valid.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/IpPermission.java