Package org.forum.server.graphql
Class Topic.Builder
java.lang.Object
org.forum.server.graphql.Topic.Builder
- Enclosing class:
- Topic
The Builder that helps building instance of this POJO. You can get an instance of this class, by calling the
Topic.builder()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
withAuthor
(Member authorParam) withAuthorId
(Long authorIdParam) withBoardId
(Long boardIdParam) withContent
(String contentParam) withNbPosts
(Integer nbPostsParam) withPubliclyAvailable
(Boolean publiclyAvailableParam)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withId
-
withDate
-
withAuthor
-
withPubliclyAvailable
-
withNbPosts
-
withTitle
-
withContent
-
withPosts
-
withBoardId
-
withAuthorId
-
build
-