public void setPlatformCapabilities(java.util.Collection<String> platformCapabilities) {
        if (platformCapabilities == null) {
            this.platformCapabilities = null;
            return;
        }

        this.platformCapabilities = new java.util.ArrayList<String>(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>

@param platformCapabilities
       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