Class BetaManagedAgentsMemoryStore.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMemoryStore.BuilderA builder for BetaManagedAgentsMemoryStore.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsMemoryStore.Builder id(String id)
Unique identifier for the memory store (a
memstore_...tagged ID). Use this when attaching the store to a session, or in the{memory_store_id}path parameter of subsequent calls.
-
id
final BetaManagedAgentsMemoryStore.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final BetaManagedAgentsMemoryStore.Builder createdAt(OffsetDateTime createdAt)
A timestamp in RFC 3339 format
-
createdAt
final BetaManagedAgentsMemoryStore.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaManagedAgentsMemoryStore.Builder name(String name)
Human-readable name for the store. 1–255 characters. The store's mount-path slug under
/mnt/memory/is derived from this name.
-
name
final BetaManagedAgentsMemoryStore.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.
-
type
final BetaManagedAgentsMemoryStore.Builder type(BetaManagedAgentsMemoryStore.Type type)
-
type
final BetaManagedAgentsMemoryStore.Builder type(JsonField<BetaManagedAgentsMemoryStore.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final BetaManagedAgentsMemoryStore.Builder updatedAt(OffsetDateTime updatedAt)
A timestamp in RFC 3339 format
-
updatedAt
final BetaManagedAgentsMemoryStore.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
archivedAt
final BetaManagedAgentsMemoryStore.Builder archivedAt(OffsetDateTime archivedAt)
A timestamp in RFC 3339 format
-
archivedAt
final BetaManagedAgentsMemoryStore.Builder archivedAt(Optional<OffsetDateTime> archivedAt)
Alias for calling Builder.archivedAt with
archivedAt.orElse(null).
-
archivedAt
final BetaManagedAgentsMemoryStore.Builder archivedAt(JsonField<OffsetDateTime> archivedAt)
Sets Builder.archivedAt to an arbitrary JSON value.
You should usually call Builder.archivedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final BetaManagedAgentsMemoryStore.Builder description(String description)
Free-text description of what the store contains, up to 1024 characters. Included in the agent's system prompt when the store is attached, so word it to be useful to the agent. Empty string when unset.
-
description
final BetaManagedAgentsMemoryStore.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final BetaManagedAgentsMemoryStore.Builder metadata(BetaManagedAgentsMemoryStore.Metadata metadata)
Arbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). Up to 16 pairs; keys 1–64 characters; values up to 512 characters. Returned on retrieve/list but not filterable.
-
metadata
final BetaManagedAgentsMemoryStore.Builder metadata(JsonField<BetaManagedAgentsMemoryStore.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.
-
additionalProperties
final BetaManagedAgentsMemoryStore.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsMemoryStore.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsMemoryStore.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsMemoryStore.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsMemoryStore.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsMemoryStore build()
Returns an immutable instance of BetaManagedAgentsMemoryStore.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .name() .type() .updatedAt()
-
-
-
-