public static class Content.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.util.List<ContentItem> contentItems)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Content.Builder |
addContentItem(ContentItem contentItem)
Adds an contentItem to contentItems.
|
Content |
build()
Builds a Content.
|
Content.Builder |
contentItems(java.util.List<ContentItem> contentItems)
Set the contentItems.
|
public Builder()
public Builder(java.util.List<ContentItem> contentItems)
contentItems
- the contentItemspublic Content build()
public Content.Builder addContentItem(ContentItem contentItem)
contentItem
- the new contentItempublic Content.Builder contentItems(java.util.List<ContentItem> contentItems)
contentItems
- the contentItems