public ServerCertificateScope withProtocols(Integer... protocols) {
        if (this.protocols == null) {
            setProtocols(new java.util.ArrayList<Integer>(protocols.length));
        }
        for (Integer ele : protocols) {
            this.protocols.add(ele);
        }
        return this;
    }
<p>
The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
(IANA). Network Firewall currently supports only TCP.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setProtocols(java.util.Collection)} or {@link #withProtocols(java.util.Collection)} if you want to
override the existing values.
</p>

@param protocols
       The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
       (IANA). Network Firewall currently supports only TCP.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/ServerCertificateScope.java