public AwsRdsPendingCloudWatchLogsExports withLogTypesToEnable(String... logTypesToEnable) {
        if (this.logTypesToEnable == null) {
            setLogTypesToEnable(new java.util.ArrayList<String>(logTypesToEnable.length));
        }
        for (String ele : logTypesToEnable) {
            this.logTypesToEnable.add(ele);
        }
        return this;
    }
<p>
A list of log types that are being enabled.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogTypesToEnable(java.util.Collection)} or {@link #withLogTypesToEnable(java.util.Collection)} if you
want to override the existing values.
</p>

@param logTypesToEnable
       A list of log types that are being enabled.
@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/AwsRdsPendingCloudWatchLogsExports.java