public App withPlatform(Platform platform) {
        this.platform = platform.toString();
        return this;
    }
<p>
The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>. For a dynamic
server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>. For an app requiring Amplify
Hosting's original SSR support only, set the platform type to <code>WEB_DYNAMIC</code>.
</p>

@param platform
       The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>. For a
       dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>. For an app
       requiring Amplify Hosting's original SSR support only, set the platform type to <code>WEB_DYNAMIC</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see Platform
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/App.java