public NetworkHeader withProtocol(String protocol) {
        setProtocol(protocol);
        return this;
    }
<p>
The protocol used for the component.
</p>
<p>
Length Constraints: Minimum of 1. Maximum of 16.
</p>

@param protocol
       The protocol used for the component.</p>
       <p>
       Length Constraints: Minimum of 1. Maximum of 16.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/NetworkHeader.java