Class BetaMemoryTool20250818StrReplaceCommand.Builder
-
- All Implemented Interfaces:
public final class BetaMemoryTool20250818StrReplaceCommand.BuilderA builder for BetaMemoryTool20250818StrReplaceCommand.
-
-
Method Summary
-
-
Method Detail
-
command
final BetaMemoryTool20250818StrReplaceCommand.Builder command(JsonValue command)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("str_replace")This method is primarily for setting the field to an undocumented or not yet supported value.
-
newStr
final BetaMemoryTool20250818StrReplaceCommand.Builder newStr(String newStr)
Text to replace with
-
newStr
final BetaMemoryTool20250818StrReplaceCommand.Builder newStr(JsonField<String> newStr)
Sets Builder.newStr to an arbitrary JSON value.
You should usually call Builder.newStr with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
oldStr
final BetaMemoryTool20250818StrReplaceCommand.Builder oldStr(String oldStr)
Text to search for and replace
-
oldStr
final BetaMemoryTool20250818StrReplaceCommand.Builder oldStr(JsonField<String> oldStr)
Sets Builder.oldStr to an arbitrary JSON value.
You should usually call Builder.oldStr with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
path
final BetaMemoryTool20250818StrReplaceCommand.Builder path(String path)
Path to the file where text should be replaced
-
path
final BetaMemoryTool20250818StrReplaceCommand.Builder path(JsonField<String> path)
Sets Builder.path to an arbitrary JSON value.
You should usually call Builder.path 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 BetaMemoryTool20250818StrReplaceCommand.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaMemoryTool20250818StrReplaceCommand.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaMemoryTool20250818StrReplaceCommand.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaMemoryTool20250818StrReplaceCommand.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaMemoryTool20250818StrReplaceCommand.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaMemoryTool20250818StrReplaceCommand build()
Returns an immutable instance of BetaMemoryTool20250818StrReplaceCommand.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.newStr() .oldStr() .path()
-
-
-
-