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