Class ContentItem.Builder
java.lang.Object
com.ibm.watson.personality_insights.v3.model.ContentItem.Builder
- Enclosing class:
- ContentItem
public static class ContentItem.Builder extends Object
Builder.
- 
Constructor Summary
- 
Method SummaryModifier and Type Method Description ContentItembuild()Builds a ContentItem.ContentItem.Buildercontent(String content)Set the content.ContentItem.Buildercontenttype(String contenttype)Set the contenttype.ContentItem.Buildercreated(long created)Set the created.ContentItem.Builderforward(Boolean forward)Set the forward.ContentItem.Builderid(String id)Set the id.ContentItem.Builderlanguage(String language)Set the language.ContentItem.Builderparentid(String parentid)Set the parentid.ContentItem.Builderreply(Boolean reply)Set the reply.ContentItem.Builderupdated(long updated)Set the updated.
- 
Constructor Details- 
Builderpublic Builder()Instantiates a new builder.
- 
BuilderInstantiates a new builder with required properties.- Parameters:
- content- the content
 
 
- 
- 
Method Details- 
buildBuilds a ContentItem.- Returns:
- the new ContentItem instance
 
- 
contentSet the content.- Parameters:
- content- the content
- Returns:
- the ContentItem builder
 
- 
idSet the id.- Parameters:
- id- the id
- Returns:
- the ContentItem builder
 
- 
createdSet the created.- Parameters:
- created- the created
- Returns:
- the ContentItem builder
 
- 
updatedSet the updated.- Parameters:
- updated- the updated
- Returns:
- the ContentItem builder
 
- 
contenttypeSet the contenttype.- Parameters:
- contenttype- the contenttype
- Returns:
- the ContentItem builder
 
- 
languageSet the language.- Parameters:
- language- the language
- Returns:
- the ContentItem builder
 
- 
parentidSet the parentid.- Parameters:
- parentid- the parentid
- Returns:
- the ContentItem builder
 
- 
replySet the reply.- Parameters:
- reply- the reply
- Returns:
- the ContentItem builder
 
- 
forwardSet the forward.- Parameters:
- forward- the forward
- Returns:
- the ContentItem builder
 
 
-