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 Commentbuild()CommentBuilderwithAuthor(UID<Account> author)CommentBuilderwithCreationDate(Instant creationInstant)CommentBuilderwithLastModified(Instant lastModified)CommentBuilderwithMsg(String msg)CommentBuilderwithUuid(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
-
-