Module design: When to use a pipeline and when to fold a list?

Something like this? https://ellie-app.com/4TV3pTrBjZYa1

Would you prefer:

test : Something
test =
    default
        |> field1 "foo"
        |> field2 5
        |> field3 0.5

or:

test2 : Something
test2 =
    build
        [ field1 "foo"
        , field2 5
        , field3 0.5
        ]