Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(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(List<ContentItem> contentItems)
Set the contentItems.
|
public Builder()
public Builder(List<ContentItem> contentItems)
contentItems
- the contentItemspublic Content build()
public Content.Builder addContentItem(ContentItem contentItem)
contentItem
- the new contentItempublic Content.Builder contentItems(List<ContentItem> contentItems)
contentItems
- the contentItemsCopyright © 2021 IBM Cloud. All rights reserved.