File tree Expand file tree Collapse file tree
src/main/java/io/weaviate/client6/v1/api/collections/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import io .weaviate .client6 .v1 .api .collections .CollectionConfig ;
99import io .weaviate .client6 .v1 .api .collections .Generative ;
1010import io .weaviate .client6 .v1 .api .collections .InvertedIndex ;
11+ import io .weaviate .client6 .v1 .api .collections .MultiTenancy ;
1112import io .weaviate .client6 .v1 .api .collections .Replication ;
1213import io .weaviate .client6 .v1 .api .collections .Reranker ;
1314import io .weaviate .client6 .v1 .api .collections .VectorConfig ;
@@ -95,17 +96,27 @@ public Builder generativeModule(Generative generativeModule) {
9596 return this ;
9697 }
9798
98- public final Builder vectors (Map <String , VectorConfig > vectors ) {
99+ public final Builder vectorConfig (Map <String , VectorConfig > vectors ) {
99100 this .newCollection .vectorConfig (vectors );
100101 return this ;
101102 }
102103
103104 @ SafeVarargs
104- public final Builder vectors (Map .Entry <String , VectorConfig >... vectors ) {
105+ public final Builder vectorConfig (Map .Entry <String , VectorConfig >... vectors ) {
105106 this .newCollection .vectorConfig (vectors );
106107 return this ;
107108 }
108109
110+ public Builder multiTenancy (MultiTenancy multiTenancy ) {
111+ this .newCollection .multiTenancy (multiTenancy );
112+ return this ;
113+ }
114+
115+ public Builder multiTenancy (Function <MultiTenancy .Builder , ObjectBuilder <MultiTenancy >> fn ) {
116+ this .newCollection .multiTenancy (fn );
117+ return this ;
118+ }
119+
109120 @ Override
110121 public UpdateCollectionRequest build () {
111122 return new UpdateCollectionRequest (this );
You can’t perform that action at this time.
0 commit comments