@Override
    public Node toNode() {
        ObjectNode.Builder params = ObjectNode.builder();
        for (Parameter parameter : parameters) {
            params.withMember(parameter.getName().getName(), parameter);
        }
        return params.build();
    }
Gets the parameter for the given name.

@return returns an optional containing the parameter if present, empty otherwise.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/parameters/Parameters.java