public Application withPlatforms(java.util.Collection<String> platforms) {
        setPlatforms(platforms);
        return this;
    }
<p>
The platforms on which the application can run.
</p>

@param platforms
       The platforms on which the application can run.
@return Returns a reference to this object so that method calls can be chained together.
@see PlatformType
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/Application.java