Package com.openai.models.vectorstores
Class VectorStoreCreateParams.ExpiresAfter.Builder
-
- All Implemented Interfaces:
public final class VectorStoreCreateParams.ExpiresAfter.Builder
A builder for ExpiresAfter.
-
-
Method Summary
-
-
Method Detail
-
anchor
final VectorStoreCreateParams.ExpiresAfter.Builder anchor(JsonValue anchor)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("last_active_at")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
days
final VectorStoreCreateParams.ExpiresAfter.Builder days(Long days)
The number of days after the anchor time that the vector store will expire.
-
days
final VectorStoreCreateParams.ExpiresAfter.Builder days(JsonField<Long> days)
Sets Builder.days to an arbitrary JSON value.
You should usually call Builder.days with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final VectorStoreCreateParams.ExpiresAfter.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VectorStoreCreateParams.ExpiresAfter.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VectorStoreCreateParams.ExpiresAfter.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VectorStoreCreateParams.ExpiresAfter.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VectorStoreCreateParams.ExpiresAfter.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VectorStoreCreateParams.ExpiresAfter build()
Returns an immutable instance of ExpiresAfter.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.days()
-
-
-
-