public SecurityGroupRuleDescription withProtocol(String protocol) {
        setProtocol(protocol);
        return this;
    }
<p>
The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or number.
</p>

@param protocol
       The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or
       number.
@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