code: public void setComplianceResourceTypes(java.util.Collection<String> complianceResourceTypes) {
          if (complianceResourceTypes == null) {
              this.complianceResourceTypes = null;
              return;
          }
  
          this.complianceResourceTypes = new com.amazonaws.internal.SdkInternalList<String>(complianceResourceTypes);
      }
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>
  
  @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>.