Class VectorStoreUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class VectorStoreUpdateParams.Body.Builder
A builder for Body.
-
-
Method Summary
-
-
Method Detail
-
expiresAfter
final VectorStoreUpdateParams.Body.Builder expiresAfter(VectorStoreUpdateParams.ExpiresAfter expiresAfter)
The expiration policy for a vector store.
-
expiresAfter
final VectorStoreUpdateParams.Body.Builder expiresAfter(Optional<VectorStoreUpdateParams.ExpiresAfter> expiresAfter)
Alias for calling Builder.expiresAfter with
expiresAfter.orElse(null)
.
-
expiresAfter
final VectorStoreUpdateParams.Body.Builder expiresAfter(JsonField<VectorStoreUpdateParams.ExpiresAfter> expiresAfter)
Sets Builder.expiresAfter to an arbitrary JSON value.
You should usually call Builder.expiresAfter with a well-typed ExpiresAfter value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final VectorStoreUpdateParams.Body.Builder metadata(VectorStoreUpdateParams.Metadata metadata)
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
metadata
final VectorStoreUpdateParams.Body.Builder metadata(Optional<VectorStoreUpdateParams.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null)
.
-
metadata
final VectorStoreUpdateParams.Body.Builder metadata(JsonField<VectorStoreUpdateParams.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final VectorStoreUpdateParams.Body.Builder name(String name)
The name of the vector store.
-
name
final VectorStoreUpdateParams.Body.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null)
.
-
name
final VectorStoreUpdateParams.Body.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final VectorStoreUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VectorStoreUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VectorStoreUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VectorStoreUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VectorStoreUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VectorStoreUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-