As cool as a cucumber is a simile, which is a figure of speech that compares one thing to another.figure out