public TargetPlatform withAccelerator(String accelerator) {
        setAccelerator(accelerator);
        return this;
    }
<p>
Specifies a target platform accelerator (optional).
</p>
<ul>
<li>
<p>
<code>NVIDIA</code>: Nvidia graphics processing unit. It also requires <code>gpu-code</code>,
<code>trt-ver</code>, <code>cuda-ver</code> compiler options
</p>
</li>
<li>
<p>
<code>MALI</code>: ARM Mali graphics processor
</p>
</li>
<li>
<p>
<code>INTEL_GRAPHICS</code>: Integrated Intel graphics
</p>
</li>
</ul>

@param accelerator
       Specifies a target platform accelerator (optional).</p>
       <ul>
       <li>
       <p>
       <code>NVIDIA</code>: Nvidia graphics processing unit. It also requires <code>gpu-code</code>,
       <code>trt-ver</code>, <code>cuda-ver</code> compiler options
       </p>
       </li>
       <li>
       <p>
       <code>MALI</code>: ARM Mali graphics processor
       </p>
       </li>
       <li>
       <p>
       <code>INTEL_GRAPHICS</code>: Integrated Intel graphics
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see TargetPlatformAccelerator
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/TargetPlatform.java