public ProjectEnvironment withComputeType(ComputeType computeType) {
        this.computeType = computeType.toString();
        return this;
    }
<p>
Information about the compute resources the build project uses. Available values include:
</p>
<ul>
<li>
<p>
<code>BUILD_GENERAL1_SMALL</code>: Use up to 3 GB memory and 2 vCPUs for builds.
</p>
</li>
<li>
<p>
<code>BUILD_GENERAL1_MEDIUM</code>: Use up to 7 GB memory and 4 vCPUs for builds.
</p>
</li>
<li>
<p>
<code>BUILD_GENERAL1_LARGE</code>: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment
type.
</p>
</li>
<li>
<p>
<code>BUILD_GENERAL1_XLARGE</code>: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment
type.
</p>
</li>
<li>
<p>
<code>BUILD_GENERAL1_2XLARGE</code>: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds.
This compute type supports Docker images up to 100 GB uncompressed.
</p>
</li>
<li>
<p>
<code>BUILD_LAMBDA_1GB</code>: Use up to 1 GB memory for builds. Only available for environment type
<code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
</p>
</li>
<li>
<p>
<code>BUILD_LAMBDA_2GB</code>: Use up to 2 GB memory for builds. Only available for environment type
<code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
</p>
</li>
<li>
<p>
<code>BUILD_LAMBDA_4GB</code>: Use up to 4 GB memory for builds. Only available for environment type
<code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
</p>
</li>
<li>
<p>
<code>BUILD_LAMBDA_8GB</code>: Use up to 8 GB memory for builds. Only available for environment type
<code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
</p>
</li>
<li>
<p>
<code>BUILD_LAMBDA_10GB</code>: Use up to 10 GB memory for builds. Only available for environment type
<code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
</p>
</li>
</ul>
<p>
If you use <code>BUILD_GENERAL1_SMALL</code>:
</p>
<ul>
<li>
<p>
For environment type <code>LINUX_CONTAINER</code>, you can use up to 3 GB memory and 2 vCPUs for builds.
</p>
</li>
<li>
<p>
For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G
Tensor Core GPU for builds.
</p>
</li>
<li>
<p>
For environment type <code>ARM_CONTAINER</code>, you can use up to 4 GB memory and 2 vCPUs on ARM-based
processors for builds.
</p>
</li>
</ul>
<p>
If you use <code>BUILD_GENERAL1_LARGE</code>:
</p>
<ul>
<li>
<p>
For environment type <code>LINUX_CONTAINER</code>, you can use up to 15 GB memory and 8 vCPUs for builds.
</p>
</li>
<li>
<p>
For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA
Tesla V100 GPUs for builds.
</p>
</li>
<li>
<p>
For environment type <code>ARM_CONTAINER</code>, you can use up to 16 GB memory and 8 vCPUs on ARM-based
processors for builds.
</p>
</li>
</ul>
<note>
<p>
If you're using compute fleets during project creation, <code>computeType</code> will be ignored.
</p>
</note>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build Environment
Compute Types</a> in the <i>CodeBuild User Guide.</i>
</p>

@param computeType
       Information about the compute resources the build project uses. Available values include:</p>
       <ul>
       <li>
       <p>
       <code>BUILD_GENERAL1_SMALL</code>: Use up to 3 GB memory and 2 vCPUs for builds.
       </p>
       </li>
       <li>
       <p>
       <code>BUILD_GENERAL1_MEDIUM</code>: Use up to 7 GB memory and 4 vCPUs for builds.
       </p>
       </li>
       <li>
       <p>
       <code>BUILD_GENERAL1_LARGE</code>: Use up to 16 GB memory and 8 vCPUs for builds, depending on your
       environment type.
       </p>
       </li>
       <li>
       <p>
       <code>BUILD_GENERAL1_XLARGE</code>: Use up to 70 GB memory and 36 vCPUs for builds, depending on your
       environment type.
       </p>
       </li>
       <li>
       <p>
       <code>BUILD_GENERAL1_2XLARGE</code>: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for
       builds. This compute type supports Docker images up to 100 GB uncompressed.
       </p>
       </li>
       <li>
       <p>
       <code>BUILD_LAMBDA_1GB</code>: Use up to 1 GB memory for builds. Only available for environment type
       <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
       </p>
       </li>
       <li>
       <p>
       <code>BUILD_LAMBDA_2GB</code>: Use up to 2 GB memory for builds. Only available for environment type
       <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
       </p>
       </li>
       <li>
       <p>
       <code>BUILD_LAMBDA_4GB</code>: Use up to 4 GB memory for builds. Only available for environment type
       <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
       </p>
       </li>
       <li>
       <p>
       <code>BUILD_LAMBDA_8GB</code>: Use up to 8 GB memory for builds. Only available for environment type
       <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
       </p>
       </li>
       <li>
       <p>
       <code>BUILD_LAMBDA_10GB</code>: Use up to 10 GB memory for builds. Only available for environment type
       <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.
       </p>
       </li>
       </ul>
       <p>
       If you use <code>BUILD_GENERAL1_SMALL</code>:
       </p>
       <ul>
       <li>
       <p>
       For environment type <code>LINUX_CONTAINER</code>, you can use up to 3 GB memory and 2 vCPUs for builds.
       </p>
       </li>
       <li>
       <p>
       For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 16 GB memory, 4 vCPUs, and 1
       NVIDIA A10G Tensor Core GPU for builds.
       </p>
       </li>
       <li>
       <p>
       For environment type <code>ARM_CONTAINER</code>, you can use up to 4 GB memory and 2 vCPUs on ARM-based
       processors for builds.
       </p>
       </li>
       </ul>
       <p>
       If you use <code>BUILD_GENERAL1_LARGE</code>:
       </p>
       <ul>
       <li>
       <p>
       For environment type <code>LINUX_CONTAINER</code>, you can use up to 15 GB memory and 8 vCPUs for builds.
       </p>
       </li>
       <li>
       <p>
       For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 255 GB memory, 32 vCPUs, and 4
       NVIDIA Tesla V100 GPUs for builds.
       </p>
       </li>
       <li>
       <p>
       For environment type <code>ARM_CONTAINER</code>, you can use up to 16 GB memory and 8 vCPUs on ARM-based
       processors for builds.
       </p>
       </li>
       </ul>
       <note>
       <p>
       If you're using compute fleets during project creation, <code>computeType</code> will be ignored.
       </p>
       </note>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build
       Environment Compute Types</a> in the <i>CodeBuild User Guide.</i>
@return Returns a reference to this object so that method calls can be chained together.
@see ComputeType
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/ProjectEnvironment.java