public SecurityGroupRuleDescription withToPort(Long toPort) {
        setToPort(toPort);
        return this;
    }
<p>
The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of <code>-1</code>
indicates all ICMP/ICMPv6 codes.
</p>

@param toPort
       The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of
       <code>-1</code> indicates all ICMP/ICMPv6 codes.
@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/SecurityGroupRuleDescription.java