code: public ListResourceComplianceSummariesResult withResourceComplianceSummaryItems(ResourceComplianceSummaryItem... resourceComplianceSummaryItems) {
          if (this.resourceComplianceSummaryItems == null) {
              setResourceComplianceSummaryItems(new com.amazonaws.internal.SdkInternalList<ResourceComplianceSummaryItem>(resourceComplianceSummaryItems.length));
          }
          for (ResourceComplianceSummaryItem ele : resourceComplianceSummaryItems) {
              this.resourceComplianceSummaryItems.add(ele);
          }
          return this;
      }
docs: <p>
  A summary count for specified or targeted managed instances. Summary count includes information about compliant
  and non-compliant State Manager associations, patch status, or custom items according to the filter criteria that
  you specify.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResourceComplianceSummaryItems(java.util.Collection)} or
  {@link #withResourceComplianceSummaryItems(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param resourceComplianceSummaryItems
  A summary count for specified or targeted managed instances. Summary count includes information about
  compliant and non-compliant State Manager associations, patch status, or custom items according to the
  filter criteria that you specify.
  @return Returns a reference to this object so that method calls can be chained together.