public WorkflowBuilder<T> variables(Object variables) {
        try {
            this.state = objectMapper.convertValue(variables, Map.class);
        } catch (Exception e) {
            throw new IllegalArgumentException(
                    "Workflow Variables cannot be converted to Map.  Supplied: "
                            + variables.getClass().getName());
        }
        return this;
    }
@param <T> Input type for the workflow
java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/WorkflowBuilder.java