Package com.openai.models
Class VectorStore.ExpiresAfter.Builder
-
- All Implemented Interfaces:
public final class VectorStore.ExpiresAfter.Builder
-
-
Constructor Summary
Constructors Constructor Description VectorStore.ExpiresAfter.Builder()
-
Method Summary
Modifier and Type Method Description final VectorStore.ExpiresAfter.Builder
anchor(JsonValue anchor)
Anchor timestamp after which the expiration policy applies. final VectorStore.ExpiresAfter.Builder
days(Long days)
The number of days after the anchor time that the vector store will expire. final VectorStore.ExpiresAfter.Builder
days(JsonField<Long> days)
The number of days after the anchor time that the vector store will expire. final VectorStore.ExpiresAfter.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final VectorStore.ExpiresAfter.Builder
putAdditionalProperty(String key, JsonValue value)
final VectorStore.ExpiresAfter.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final VectorStore.ExpiresAfter.Builder
removeAdditionalProperty(String key)
final VectorStore.ExpiresAfter.Builder
removeAllAdditionalProperties(Set<String> keys)
final VectorStore.ExpiresAfter
build()
-
-
Method Detail
-
anchor
final VectorStore.ExpiresAfter.Builder anchor(JsonValue anchor)
Anchor timestamp after which the expiration policy applies. Supported anchors:
last_active_at
.
-
days
final VectorStore.ExpiresAfter.Builder days(Long days)
The number of days after the anchor time that the vector store will expire.
-
days
final VectorStore.ExpiresAfter.Builder days(JsonField<Long> days)
The number of days after the anchor time that the vector store will expire.
-
additionalProperties
final VectorStore.ExpiresAfter.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VectorStore.ExpiresAfter.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VectorStore.ExpiresAfter.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VectorStore.ExpiresAfter.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VectorStore.ExpiresAfter.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VectorStore.ExpiresAfter build()
-
-
-
-