public static WindowDefinition id(String id) {

        return new WindowDefinition(id);
    }
Construct and return a WindowDefinition object using the given id.

@param id the window id
@return new instance of WindowDefinition
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/definition/WindowDefinition.java