public NetAppONTAPSVM withEnabledProtocols(String... enabledProtocols) {
        if (this.enabledProtocols == null) {
            setEnabledProtocols(new java.util.ArrayList<String>(enabledProtocols.length));
        }
        for (String ele : enabledProtocols) {
            this.enabledProtocols.add(ele);
        }
        return this;
    }
<p>
The data transfer protocols (such as NFS) configured for the SVM.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEnabledProtocols(java.util.Collection)} or {@link #withEnabledProtocols(java.util.Collection)} if you
want to override the existing values.
</p>

@param enabledProtocols
       The data transfer protocols (such as NFS) configured for the SVM.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/NetAppONTAPSVM.java