public AwsEksClusterLoggingDetails withClusterLogging(AwsEksClusterLoggingClusterLoggingDetails... clusterLogging) {
        if (this.clusterLogging == null) {
            setClusterLogging(new java.util.ArrayList<AwsEksClusterLoggingClusterLoggingDetails>(clusterLogging.length));
        }
        for (AwsEksClusterLoggingClusterLoggingDetails ele : clusterLogging) {
            this.clusterLogging.add(ele);
        }
        return this;
    }
<p>
Cluster logging configurations.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setClusterLogging(java.util.Collection)} or {@link #withClusterLogging(java.util.Collection)} if you want
to override the existing values.
</p>

@param clusterLogging
       Cluster logging configurations.
@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/AwsEksClusterLoggingDetails.java