public IpPermission withProtocol(IpProtocol protocol) {
        this.protocol = protocol.toString();
        return this;
    }
<p>
The network communication protocol used by the fleet.
</p>

@param protocol
       The network communication protocol used by the fleet.
@return Returns a reference to this object so that method calls can be chained together.
@see IpProtocol
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/IpPermission.java