Class Note.Builder

    • Method Detail

      • id

        public Note.CreatedAtStage id​(@NotNull
                                      java.lang.String id)
        The id of the note.

        The id of the note.

        Specified by:
        id in interface Note.IdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • createdAt

        public Note.AuthorStage createdAt​(int createdAt)
        The time the note was created.

        The time the note was created.

        Specified by:
        createdAt in interface Note.CreatedAtStage
        Returns:
        Reference to this so that method calls can be chained together.
      • author

        public Note.BodyStage author​(@NotNull
                                     Admin author)
        Optional. Represents the Admin that created the note.

        Optional. Represents the Admin that created the note.

        Specified by:
        author in interface Note.AuthorStage
        Returns:
        Reference to this so that method calls can be chained together.
      • body

        public Note._FinalStage body​(@NotNull
                                     java.lang.String body)
        The body text of the note.

        The body text of the note.

        Specified by:
        body in interface Note.BodyStage
        Returns:
        Reference to this so that method calls can be chained together.