public EcsTaskProperties withPlatformVersion(String platformVersion) {
        setPlatformVersion(platformVersion);
        return this;
    }
<p>
The Fargate platform version where the jobs are running. A platform version is specified only for jobs that are
running on Fargate resources. If one isn't specified, the <code>LATEST</code> platform version is used by
default. This uses a recent, approved version of the Fargate platform for compute resources. For more
information, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html">Fargate platform
versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
</p>

@param platformVersion
       The Fargate platform version where the jobs are running. A platform version is specified only for jobs
       that are running on Fargate resources. If one isn't specified, the <code>LATEST</code> platform version is
       used by default. This uses a recent, approved version of the Fargate platform for compute resources. For
       more information, see <a
       href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html">Fargate platform
       versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EcsTaskProperties.java