Package io.vertigo.social.comment
Class CommentBuilder
- java.lang.Object
-
- io.vertigo.social.comment.CommentBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comment
build()
CommentBuilder
withAuthor(UID<Account> author)
CommentBuilder
withCreationDate(Instant creationInstant)
CommentBuilder
withLastModified(Instant lastModified)
CommentBuilder
withMsg(String msg)
CommentBuilder
withUuid(UUID uuid)
-
-
-
Method Detail
-
withAuthor
public CommentBuilder withAuthor(UID<Account> author)
- Parameters:
author
- Author account- Returns:
- this builder
-
withUuid
public CommentBuilder withUuid(UUID uuid)
- Parameters:
uuid
- UUID identifier- Returns:
- this builder
-
withMsg
public CommentBuilder withMsg(String msg)
- Parameters:
msg
- Comment- Returns:
- this builder
-
withCreationDate
public CommentBuilder withCreationDate(Instant creationInstant)
- Parameters:
creationDate
- create date time- Returns:
- this builder
-
withLastModified
public CommentBuilder withLastModified(Instant lastModified)
- Parameters:
lastModified
- Last modify date time- Returns:
- this builder
-
-