public Integer getToPort() {
        return this.toPort;
    }
<p>
If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP, this is the ICMP code
or -1 (all ICMP codes).
</p>

@return If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP, this is the
        ICMP code or -1 (all ICMP codes).
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupIngressRequest.java