code: public GetAggregateComplianceDetailsByConfigRuleResult withAggregateEvaluationResults(AggregateEvaluationResult... aggregateEvaluationResults) {
          if (this.aggregateEvaluationResults == null) {
              setAggregateEvaluationResults(new com.amazonaws.internal.SdkInternalList<AggregateEvaluationResult>(aggregateEvaluationResults.length));
          }
          for (AggregateEvaluationResult ele : aggregateEvaluationResults) {
              this.aggregateEvaluationResults.add(ele);
          }
          return this;
      }
docs: <p>
  Returns an AggregateEvaluationResults object.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAggregateEvaluationResults(java.util.Collection)} or
  {@link #withAggregateEvaluationResults(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param aggregateEvaluationResults
  Returns an AggregateEvaluationResults object.
  @return Returns a reference to this object so that method calls can be chained together.