Class BetaManagedAgentsMemoryStoreResource.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMemoryStoreResource.BuilderA builder for BetaManagedAgentsMemoryStoreResource.
-
-
Method Summary
-
-
Method Detail
-
memoryStoreId
final BetaManagedAgentsMemoryStoreResource.Builder memoryStoreId(String memoryStoreId)
The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
-
memoryStoreId
final BetaManagedAgentsMemoryStoreResource.Builder memoryStoreId(JsonField<String> memoryStoreId)
Sets Builder.memoryStoreId to an arbitrary JSON value.
You should usually call Builder.memoryStoreId 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 BetaManagedAgentsMemoryStoreResource.Builder type(BetaManagedAgentsMemoryStoreResource.Type type)
-
type
final BetaManagedAgentsMemoryStoreResource.Builder type(JsonField<BetaManagedAgentsMemoryStoreResource.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.
-
access
final BetaManagedAgentsMemoryStoreResource.Builder access(BetaManagedAgentsMemoryStoreResource.Access access)
Access mode for an attached memory store.
-
access
final BetaManagedAgentsMemoryStoreResource.Builder access(Optional<BetaManagedAgentsMemoryStoreResource.Access> access)
Alias for calling Builder.access with
access.orElse(null).
-
access
final BetaManagedAgentsMemoryStoreResource.Builder access(JsonField<BetaManagedAgentsMemoryStoreResource.Access> access)
Sets Builder.access to an arbitrary JSON value.
You should usually call Builder.access with a well-typed Access value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final BetaManagedAgentsMemoryStoreResource.Builder description(String description)
Description of the memory store, snapshotted at attach time. Rendered into the agent's system prompt. Empty string when the store has no description.
-
description
final BetaManagedAgentsMemoryStoreResource.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.
-
instructions
final BetaManagedAgentsMemoryStoreResource.Builder instructions(String instructions)
Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
-
instructions
final BetaManagedAgentsMemoryStoreResource.Builder instructions(Optional<String> instructions)
Alias for calling Builder.instructions with
instructions.orElse(null).
-
instructions
final BetaManagedAgentsMemoryStoreResource.Builder instructions(JsonField<String> instructions)
Sets Builder.instructions to an arbitrary JSON value.
You should usually call Builder.instructions with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mountPath
final BetaManagedAgentsMemoryStoreResource.Builder mountPath(String mountPath)
Filesystem path where the store is mounted in the session container, e.g. /mnt/memory/user-preferences. Derived from the store's name. Output-only.
-
mountPath
final BetaManagedAgentsMemoryStoreResource.Builder mountPath(Optional<String> mountPath)
Alias for calling Builder.mountPath with
mountPath.orElse(null).
-
mountPath
final BetaManagedAgentsMemoryStoreResource.Builder mountPath(JsonField<String> mountPath)
Sets Builder.mountPath to an arbitrary JSON value.
You should usually call Builder.mountPath with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaManagedAgentsMemoryStoreResource.Builder name(String name)
Display name of the memory store, snapshotted at attach time. Later edits to the store's name do not propagate to this resource.
-
name
final BetaManagedAgentsMemoryStoreResource.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final BetaManagedAgentsMemoryStoreResource.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 BetaManagedAgentsMemoryStoreResource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsMemoryStoreResource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsMemoryStoreResource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsMemoryStoreResource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsMemoryStoreResource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsMemoryStoreResource build()
Returns an immutable instance of BetaManagedAgentsMemoryStoreResource.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.memoryStoreId() .type()
-
-
-
-