public RevokeSecurityGroupIngressRequest withIpProtocol(String ipProtocol) {
        setIpProtocol(ipProtocol);
        return this;
    }
<p>
The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>) or number (see <a
href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>). Use
<code>-1</code> to specify all.
</p>

@param ipProtocol
       The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>) or number (see <a
       href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>). Use
       <code>-1</code> to specify all.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupIngressRequest.java