Class BetaManagedAgentsMemoryStoreResourceConfig.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMemoryStoreResourceConfig.BuilderA builder for BetaManagedAgentsMemoryStoreResourceConfig.
-
-
Method Summary
-
-
Method Detail
-
memoryStoreId
final BetaManagedAgentsMemoryStoreResourceConfig.Builder memoryStoreId(String memoryStoreId)
The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
-
memoryStoreId
final BetaManagedAgentsMemoryStoreResourceConfig.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 BetaManagedAgentsMemoryStoreResourceConfig.Builder type(BetaManagedAgentsMemoryStoreResourceConfig.Type type)
-
type
final BetaManagedAgentsMemoryStoreResourceConfig.Builder type(JsonField<BetaManagedAgentsMemoryStoreResourceConfig.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 BetaManagedAgentsMemoryStoreResourceConfig.Builder access(BetaManagedAgentsMemoryStoreResourceConfig.Access access)
Access mode for an attached memory store.
-
access
final BetaManagedAgentsMemoryStoreResourceConfig.Builder access(Optional<BetaManagedAgentsMemoryStoreResourceConfig.Access> access)
Alias for calling Builder.access with
access.orElse(null).
-
access
final BetaManagedAgentsMemoryStoreResourceConfig.Builder access(JsonField<BetaManagedAgentsMemoryStoreResourceConfig.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.
-
instructions
final BetaManagedAgentsMemoryStoreResourceConfig.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 BetaManagedAgentsMemoryStoreResourceConfig.Builder instructions(Optional<String> instructions)
Alias for calling Builder.instructions with
instructions.orElse(null).
-
instructions
final BetaManagedAgentsMemoryStoreResourceConfig.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.
-
additionalProperties
final BetaManagedAgentsMemoryStoreResourceConfig.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsMemoryStoreResourceConfig.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsMemoryStoreResourceConfig.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsMemoryStoreResourceConfig.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsMemoryStoreResourceConfig.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsMemoryStoreResourceConfig build()
Returns an immutable instance of BetaManagedAgentsMemoryStoreResourceConfig.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.memoryStoreId() .type()
-
-
-
-