code: public Scope withComplianceResourceTypes(String... complianceResourceTypes) {
          if (this.complianceResourceTypes == null) {
              setComplianceResourceTypes(new com.amazonaws.internal.SdkInternalList<String>(complianceResourceTypes.length));
          }
          for (String ele : complianceResourceTypes) {
              this.complianceResourceTypes.add(ele);
          }
          return this;
      }
docs: <p>
  The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only
  specify one type if you also specify a resource ID for <code>ComplianceResourceId</code>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setComplianceResourceTypes(java.util.Collection)} or
  {@link #withComplianceResourceTypes(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param complianceResourceTypes
  The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You
  can only specify one type if you also specify a resource ID for <code>ComplianceResourceId</code>.
  @return Returns a reference to this object so that method calls can be chained together.