code: public void setAcceleratorTypes(java.util.Collection<String> acceleratorTypes) {
          if (acceleratorTypes == null) {
              this.acceleratorTypes = null;
              return;
          }
  
          this.acceleratorTypes = new java.util.ArrayList<String>(acceleratorTypes);
      }
docs: <p>
  A list of the Elastic Inference (EI) instance types associated with this notebook instance. Currently only one EI
  instance type can be associated with a notebook instance. For more information, see <a
  href="http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html">Using Elastic Inference in Amazon SageMaker</a>.
  </p>
  
  @param acceleratorTypes
  A list of the Elastic Inference (EI) instance types associated with this notebook instance. Currently only
  one EI instance type can be associated with a notebook instance. For more information, see <a
  href="http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html">Using Elastic Inference in Amazon
  SageMaker</a>.
  @see NotebookInstanceAcceleratorType