[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-04-28 UTC."],[],[],null,["# Notification.Builder\n\npublic static class **Notification.Builder** extends Object \n\n### Public Method Summary\n\n|-----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Notification](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification) | [build](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder#build())() Creates a new [Notification](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification) instance from the parameters set on this builder. |\n| [Notification.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder) | [setBody](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder#setBody(java.lang.String))(String body) Sets the body of the notification. |\n| [Notification.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder) | [setImage](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder#setImage(java.lang.String))(String imageUrl) Sets the URL of the image that is going to be displayed in the notification. |\n| [Notification.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder) | [setTitle](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder#setTitle(java.lang.String))(String title) Sets the title of the notification. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| Object | clone() |\n| boolean | equals(Object arg0) |\n| void | finalize() |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [Notification](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification)\n**build**\n()\n\nCreates a new [Notification](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification) instance from the parameters set on this builder. \n\n##### Returns\n\n- A new [Notification](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification) instance. \n\n##### Throws\n\n| IllegalArgumentException | If any of the parameters set on the builder are invalid. |\n|--------------------------|----------------------------------------------------------|\n\n#### public [Notification.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder)\n**setBody**\n(String body)\n\nSets the body of the notification. \n\n##### Parameters\n\n| body | Body of the notification. |\n|------|---------------------------|\n\n##### Returns\n\n- This builder. \n\n#### public [Notification.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder)\n**setImage**\n(String imageUrl)\n\nSets the URL of the image that is going to be displayed in the notification. \n\n##### Parameters\n\n| imageUrl | URL of the image that is going to be displayed in the notification. |\n|----------|---------------------------------------------------------------------|\n\n##### Returns\n\n- This builder. \n\n#### public [Notification.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder)\n**setTitle**\n(String title)\n\nSets the title of the notification. \n\n##### Parameters\n\n| title | Title of the notification. |\n|-------|----------------------------|\n\n##### Returns\n\n- This builder."]]