code: public ListComplianceSummariesResult withComplianceSummaryItems(ComplianceSummaryItem... complianceSummaryItems) {
          if (this.complianceSummaryItems == null) {
              setComplianceSummaryItems(new com.amazonaws.internal.SdkInternalList<ComplianceSummaryItem>(complianceSummaryItems.length));
          }
          for (ComplianceSummaryItem ele : complianceSummaryItems) {
              this.complianceSummaryItems.add(ele);
          }
          return this;
      }
docs: <p>
  A list of compliant and non-compliant summary counts based on compliance types. For example, this call returns
  State Manager associations, patches, or custom compliance types according to the filter criteria that you
  specified.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setComplianceSummaryItems(java.util.Collection)} or
  {@link #withComplianceSummaryItems(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param complianceSummaryItems
  A list of compliant and non-compliant summary counts based on compliance types. For example, this call
  returns State Manager associations, patches, or custom compliance types according to the filter criteria
  that you specified.
  @return Returns a reference to this object so that method calls can be chained together.