public java.util.List<String> getPlatformCapabilities() {
        return platformCapabilities;
    }
<p>
The platform capabilities required by the job definition. If no value is specified, it defaults to
<code>EC2</code>. To run the job on Fargate resources, specify <code>FARGATE</code>.
</p>
<note>
<p>
If the job runs on Amazon EKS resources, then you must not specify <code>platformCapabilities</code>.
</p>
</note>

@return The platform capabilities required by the job definition. If no value is specified, it defaults to
        <code>EC2</code>. To run the job on Fargate resources, specify <code>FARGATE</code>.</p> <note>
        <p>
        If the job runs on Amazon EKS resources, then you must not specify <code>platformCapabilities</code>.
        </p>
@see PlatformCapability
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/RegisterJobDefinitionRequest.java