Class Discussion.CreateDiscussionBuilder

  • Enclosing class:
    Discussion

    public static class Discussion.CreateDiscussionBuilder
    extends java.lang.Object
    A convenience class to help generate discussion object with the appropriate fields for adding a discussion to a sheet.
    • Constructor Detail

      • CreateDiscussionBuilder

        public CreateDiscussionBuilder()
    • Method Detail

      • setTitle

        public Discussion.CreateDiscussionBuilder setTitle​(java.lang.String title)
        Sets the title for the discussion.
        Parameters:
        title - the title
        Returns:
        the creates the discussion builder
      • setComment

        public Discussion.CreateDiscussionBuilder setComment​(Comment comment)
        Sets the comments for the discussion.
        Parameters:
        comment - the comments
        Returns:
        the creates the discussion builder
      • getTitle

        public java.lang.String getTitle()
        Gets the title.
        Returns:
        the title
      • getComment

        public Comment getComment()
        Gets the comments.
        Returns:
        the comments
      • build

        public Discussion build()
        Builds the.
        Returns:
        the discussion