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