public DescribeCacheParameterGroupsResult withCacheParameterGroups(CacheParameterGroup... cacheParameterGroups) {
        if (this.cacheParameterGroups == null) {
            setCacheParameterGroups(new com.amazonaws.internal.SdkInternalList<CacheParameterGroup>(cacheParameterGroups.length));
        }
        for (CacheParameterGroup ele : cacheParameterGroups) {
            this.cacheParameterGroups.add(ele);
        }
        return this;
    }
<p>
A list of cache parameter groups. Each element in the list contains detailed information about one cache
parameter group.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCacheParameterGroups(java.util.Collection)} or {@link #withCacheParameterGroups(java.util.Collection)}
if you want to override the existing values.
</p>

@param cacheParameterGroups
       A list of cache parameter groups. Each element in the list contains detailed information about one cache
       parameter group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/DescribeCacheParameterGroupsResult.java