code: public void setInstanceGroupTypes(java.util.Collection<String> instanceGroupTypes) {
          if (instanceGroupTypes == null) {
              this.instanceGroupTypes = null;
              return;
          }
  
          this.instanceGroupTypes = new com.amazonaws.internal.SdkInternalList<String>(instanceGroupTypes);
      }
docs: <p>
  The type of instance group for which to list the instances.
  </p>
  
  @param instanceGroupTypes
  The type of instance group for which to list the instances.
  @see InstanceGroupType