public NetworkAclPortRange withTo(Integer to) {
        setTo(to);
        return this;
    }
<p>
The ending port number of the range.
</p>

@param to
       The ending port number of the range.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fms/src/main/java/com/amazonaws/services/fms/model/NetworkAclPortRange.java