public NetworkInsightsPath withProtocol(Protocol protocol) {
        this.protocol = protocol.toString();
        return this;
    }
<p>
The protocol.
</p>

@param protocol
       The protocol.
@return Returns a reference to this object so that method calls can be chained together.
@see Protocol
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/NetworkInsightsPath.java