Minecraft wiki entry for setblock, associated text: Specifies the new block.
In Java Edition, it must be in form of block_id[block_states]{data_tags}(does not accept block tags), in which block states and data tags can be omitted when they are not needed. In Bedrock Edition, it must be a block id.