public static class CollectionDetails.Builder
extends java.lang.Object
Constructor and Description |
---|
CollectionDetails.Builder()
Instantiates a new builder.
|
CollectionDetails.Builder(java.lang.String name)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CollectionDetails.Builder |
addEnrichments(CollectionEnrichment enrichments)
Adds an enrichments to enrichments.
|
CollectionDetails |
build()
Builds a CollectionDetails.
|
CollectionDetails.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
CollectionDetails.Builder |
created(java.util.Date created)
Set the created.
|
CollectionDetails.Builder |
description(java.lang.String description)
Set the description.
|
CollectionDetails.Builder |
enrichments(java.util.List<CollectionEnrichment> enrichments)
Set the enrichments.
|
CollectionDetails.Builder |
language(java.lang.String language)
Set the language.
|
CollectionDetails.Builder |
name(java.lang.String name)
Set the name.
|
public CollectionDetails.Builder()
public CollectionDetails.Builder(java.lang.String name)
name
- the namepublic CollectionDetails build()
public CollectionDetails.Builder addEnrichments(CollectionEnrichment enrichments)
enrichments
- the new enrichmentspublic CollectionDetails.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic CollectionDetails.Builder name(java.lang.String name)
name
- the namepublic CollectionDetails.Builder description(java.lang.String description)
description
- the descriptionpublic CollectionDetails.Builder created(java.util.Date created)
created
- the createdpublic CollectionDetails.Builder language(java.lang.String language)
language
- the languagepublic CollectionDetails.Builder enrichments(java.util.List<CollectionEnrichment> enrichments)
enrichments
- the enrichments