code: public void setInstanceTypes(java.util.Collection<String> instanceTypes) {
          if (instanceTypes == null) {
              this.instanceTypes = null;
              return;
          }
  
          this.instanceTypes = new com.amazonaws.internal.SdkInternalList<String>(instanceTypes);
      }
docs: <p>
  Filters the results by the specified instance types.
  </p>
  
  @param instanceTypes
  Filters the results by the specified instance types.
  @see InstanceType