Class MemoryStoreCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class MemoryStoreCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final MemoryStoreCreateParams.Body.Builder name(String name)
Human-readable name for the store. Required; 1–255 characters; no control characters. The mount-path slug under
/mnt/memory/is derived from this name (lowercased, non-alphanumeric runs collapsed to a hyphen). Names need not be unique within a workspace.
-
name
final MemoryStoreCreateParams.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.
-
description
final MemoryStoreCreateParams.Body.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.
-
description
final MemoryStoreCreateParams.Body.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 MemoryStoreCreateParams.Body.Builder metadata(MemoryStoreCreateParams.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. Not visible to the agent.
-
metadata
final MemoryStoreCreateParams.Body.Builder metadata(JsonField<MemoryStoreCreateParams.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 MemoryStoreCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MemoryStoreCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MemoryStoreCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MemoryStoreCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MemoryStoreCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MemoryStoreCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-