public AwsRedshiftClusterDetails withClusterParameterGroups(AwsRedshiftClusterClusterParameterGroup... clusterParameterGroups) {
        if (this.clusterParameterGroups == null) {
            setClusterParameterGroups(new java.util.ArrayList<AwsRedshiftClusterClusterParameterGroup>(clusterParameterGroups.length));
        }
        for (AwsRedshiftClusterClusterParameterGroup ele : clusterParameterGroups) {
            this.clusterParameterGroups.add(ele);
        }
        return this;
    }
<p>
The list of cluster parameter groups that are associated with this cluster.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setClusterParameterGroups(java.util.Collection)} or
{@link #withClusterParameterGroups(java.util.Collection)} if you want to override the existing values.
</p>

@param clusterParameterGroups
       The list of cluster parameter groups that are associated with this cluster.
@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/AwsRedshiftClusterDetails.java