class ChannelSwapModel {

    private String instanceId;

    private Command command;

    private Object data;

    private ChannelSwapModel() {
    }

    public static ChannelSwapModel create(String instanceId, Command command, Object data) {<FILL_FUNCTION_BODY>}

    public enum Command {
        PUT, REMOVE
    }

}

        ChannelSwapModel channelSwapModel = new ChannelSwapModel();
        channelSwapModel.instanceId = instanceId;
        channelSwapModel.command = command;
        channelSwapModel.data = data;
        return channelSwapModel;
    
<no_super_class>