public DBCluster withEnabledCloudwatchLogsExports(String... enabledCloudwatchLogsExports) {
        if (this.enabledCloudwatchLogsExports == null) {
            setEnabledCloudwatchLogsExports(new java.util.ArrayList<String>(enabledCloudwatchLogsExports.length));
        }
        for (String ele : enabledCloudwatchLogsExports) {
            this.enabledCloudwatchLogsExports.add(ele);
        }
        return this;
    }
<p>
A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEnabledCloudwatchLogsExports(java.util.Collection)} or
{@link #withEnabledCloudwatchLogsExports(java.util.Collection)} if you want to override the existing values.
</p>

@param enabledCloudwatchLogsExports
       A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/DBCluster.java