public DescribeAggregateComplianceByConfigRulesResult withAggregateComplianceByConfigRules(
            AggregateComplianceByConfigRule... aggregateComplianceByConfigRules) {
        if (this.aggregateComplianceByConfigRules == null) {
            setAggregateComplianceByConfigRules(new com.amazonaws.internal.SdkInternalList<AggregateComplianceByConfigRule>(
                    aggregateComplianceByConfigRules.length));
        }
        for (AggregateComplianceByConfigRule ele : aggregateComplianceByConfigRules) {
            this.aggregateComplianceByConfigRules.add(ele);
        }
        return this;
    }
<p>
Returns a list of AggregateComplianceByConfigRule object.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAggregateComplianceByConfigRules(java.util.Collection)} or
{@link #withAggregateComplianceByConfigRules(java.util.Collection)} if you want to override the existing values.
</p>

@param aggregateComplianceByConfigRules
       Returns a list of AggregateComplianceByConfigRule 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/DescribeAggregateComplianceByConfigRulesResult.java