public static class ContentItem.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
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 Builder()
public 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