public DescribeAggregateComplianceByConformancePacksResult withAggregateComplianceByConformancePacks(
            AggregateComplianceByConformancePack... aggregateComplianceByConformancePacks) {
        if (this.aggregateComplianceByConformancePacks == null) {
            setAggregateComplianceByConformancePacks(new com.amazonaws.internal.SdkInternalList<AggregateComplianceByConformancePack>(
                    aggregateComplianceByConformancePacks.length));
        }
        for (AggregateComplianceByConformancePack ele : aggregateComplianceByConformancePacks) {
            this.aggregateComplianceByConformancePacks.add(ele);
        }
        return this;
    }
<p>
Returns the <code>AggregateComplianceByConformancePack</code> object.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAggregateComplianceByConformancePacks(java.util.Collection)} or
{@link #withAggregateComplianceByConformancePacks(java.util.Collection)} if you want to override the existing
values.
</p>

@param aggregateComplianceByConformancePacks
       Returns the <code>AggregateComplianceByConformancePack</code> object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/DescribeAggregateComplianceByConformancePacksResult.java