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