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