public Integer getVcpus() {
        return this.vcpus;
    }
<p>
The number of vCPUs reserved for the container. For jobs that run on Amazon EC2 resources, you can specify the
vCPU requirement for the job using <code>resourceRequirements</code>, but you can't specify the vCPU requirements
in both the <code>vcpus</code> and <code>resourceRequirements</code> object. This parameter maps to
<code>CpuShares</code> in the <a href="https://docs.docker.com/engine/api/v1.23/#create-a-container">Create a
container</a> section of the <a href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API</a> and the
<code>--cpu-shares</code> option to <a href="https://docs.docker.com/engine/reference/run/">docker run</a>. Each
vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU. This is required but can be specified
in several places. It must be specified for each node at least once.
</p>
<note>
<p>
This parameter isn't applicable to jobs that run on Fargate resources. For jobs that run on Fargate resources,
you must specify the vCPU requirement for the job using <code>resourceRequirements</code>.
</p>
</note>

@return The number of vCPUs reserved for the container. For jobs that run on Amazon EC2 resources, you can
        specify the vCPU requirement for the job using <code>resourceRequirements</code>, but you can't specify
        the vCPU requirements in both the <code>vcpus</code> and <code>resourceRequirements</code> object. This
        parameter maps to <code>CpuShares</code> in the <a
        href="https://docs.docker.com/engine/api/v1.23/#create-a-container">Create a container</a> section of the
        <a href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API</a> and the
        <code>--cpu-shares</code> option to <a href="https://docs.docker.com/engine/reference/run/">docker
        run</a>. Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU. This is
        required but can be specified in several places. It must be specified for each node at least once.</p>
        <note>
        <p>
        This parameter isn't applicable to jobs that run on Fargate resources. For jobs that run on Fargate
        resources, you must specify the vCPU requirement for the job using <code>resourceRequirements</code>.
        </p>
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/ContainerDetail.java