public static class ContentItem.Builder
extends java.lang.Object
Constructor and Description |
---|
ContentItem.Builder()
Instantiates a new builder.
|
ContentItem.Builder(java.lang.String content)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ContentItem |
build()
Builds a ContentItem.
|
ContentItem.Builder |
content(java.lang.String content)
Set the content.
|
ContentItem.Builder |
contenttype(java.lang.String contenttype)
Set the contenttype.
|
ContentItem.Builder |
created(long created)
Set the created.
|
ContentItem.Builder |
forward(java.lang.Boolean forward)
Set the forward.
|
ContentItem.Builder |
id(java.lang.String id)
Set the id.
|
ContentItem.Builder |
language(java.lang.String language)
Set the language.
|
ContentItem.Builder |
parentid(java.lang.String parentid)
Set the parentid.
|
ContentItem.Builder |
reply(java.lang.Boolean reply)
Set the reply.
|
ContentItem.Builder |
updated(long updated)
Set the updated.
|
public ContentItem.Builder()
public ContentItem.Builder(java.lang.String content)
content
- the contentpublic ContentItem build()
public ContentItem.Builder content(java.lang.String content)
content
- the contentpublic ContentItem.Builder id(java.lang.String id)
id
- the idpublic ContentItem.Builder created(long created)
created
- the createdpublic ContentItem.Builder updated(long updated)
updated
- the updatedpublic ContentItem.Builder contenttype(java.lang.String contenttype)
contenttype
- the contenttypepublic ContentItem.Builder language(java.lang.String language)
language
- the languagepublic ContentItem.Builder parentid(java.lang.String parentid)
parentid
- the parentidpublic ContentItem.Builder reply(java.lang.Boolean reply)
reply
- the replypublic ContentItem.Builder forward(java.lang.Boolean forward)
forward
- the forward