Fixed typo in Java DSL ("attachtment" vs. "attachment")