public void setCpu(String cpu) {
        this.cpu = cpu;
    }
<p>
The number of CPU units used by the task.Valid values are as follows:
</p>
<ul>
<li>
<p>
<code>256 (.25 vCPU)</code>
</p>
</li>
<li>
<p>
<code>512 (.5 vCPU)</code>
</p>
</li>
<li>
<p>
<code>1024 (1 vCPU)</code>
</p>
</li>
<li>
<p>
<code>2048 (2 vCPU)</code>
</p>
</li>
<li>
<p>
<code>4096 (4 vCPU)</code>
</p>
</li>
</ul>

@param cpu
       The number of CPU units used by the task.Valid values are as follows:</p>
       <ul>
       <li>
       <p>
       <code>256 (.25 vCPU)</code>
       </p>
       </li>
       <li>
       <p>
       <code>512 (.5 vCPU)</code>
       </p>
       </li>
       <li>
       <p>
       <code>1024 (1 vCPU)</code>
       </p>
       </li>
       <li>
       <p>
       <code>2048 (2 vCPU)</code>
       </p>
       </li>
       <li>
       <p>
       <code>4096 (4 vCPU)</code>
       </p>
       </li>
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionDetails.java