public AwsEksClusterLoggingClusterLoggingDetails withTypes(String... types) {
        if (this.types == null) {
            setTypes(new java.util.ArrayList<String>(types.length));
        }
        for (String ele : types) {
            this.types.add(ele);
        }
        return this;
    }
<p>
A list of logging types. Valid values are as follows:
</p>
<ul>
<li>
<p>
<code>api</code>
</p>
</li>
<li>
<p>
<code>audit</code>
</p>
</li>
<li>
<p>
<code>authenticator</code>
</p>
</li>
<li>
<p>
<code>controllerManager</code>
</p>
</li>
<li>
<p>
<code>scheduler</code>
</p>
</li>
</ul>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTypes(java.util.Collection)} or {@link #withTypes(java.util.Collection)} if you want to override the
existing values.
</p>

@param types
       A list of logging types. Valid values are as follows:</p>
       <ul>
       <li>
       <p>
       <code>api</code>
       </p>
       </li>
       <li>
       <p>
       <code>audit</code>
       </p>
       </li>
       <li>
       <p>
       <code>authenticator</code>
       </p>
       </li>
       <li>
       <p>
       <code>controllerManager</code>
       </p>
       </li>
       <li>
       <p>
       <code>scheduler</code>
       </p>
       </li>
@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/AwsEksClusterLoggingClusterLoggingDetails.java