public EcsParameters withPlatformVersion(String platformVersion) {
        setPlatformVersion(platformVersion);
        return this;
    }
<p>
Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as
<code>1.1.0</code>.
</p>
<p>
This structure is used only if <code>LaunchType</code> is <code>FARGATE</code>. For more information about valid
platform versions, 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
       Specifies the platform version for the task. Specify only the numeric portion of the platform version,
       such as <code>1.1.0</code>.</p>
       <p>
       This structure is used only if <code>LaunchType</code> is <code>FARGATE</code>. For more information about
       valid platform versions, 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-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/EcsParameters.java