Class BetaManagedAgentsGrepToolConfig.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsGrepToolConfig.BuilderA builder for BetaManagedAgentsGrepToolConfig.
-
-
Method Summary
-
-
Method Detail
-
enabled
final BetaManagedAgentsGrepToolConfig.Builder enabled(Boolean enabled)
-
enabled
final BetaManagedAgentsGrepToolConfig.Builder enabled(JsonField<Boolean> enabled)
Sets Builder.enabled to an arbitrary JSON value.
You should usually call Builder.enabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaManagedAgentsGrepToolConfig.Builder name(JsonValue name)
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("grep")This method is primarily for setting the field to an undocumented or not yet supported value.
-
permissionPolicy
final BetaManagedAgentsGrepToolConfig.Builder permissionPolicy(BetaManagedAgentsGrepToolConfig.PermissionPolicy permissionPolicy)
Permission policy for tool execution.
-
permissionPolicy
final BetaManagedAgentsGrepToolConfig.Builder permissionPolicy(JsonField<BetaManagedAgentsGrepToolConfig.PermissionPolicy> permissionPolicy)
Sets Builder.permissionPolicy to an arbitrary JSON value.
You should usually call Builder.permissionPolicy with a well-typed PermissionPolicy value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
permissionPolicy
final BetaManagedAgentsGrepToolConfig.Builder permissionPolicy(BetaManagedAgentsAlwaysAllowPolicy alwaysAllow)
Alias for calling permissionPolicy with
PermissionPolicy.ofAlwaysAllow(alwaysAllow).
-
permissionPolicy
final BetaManagedAgentsGrepToolConfig.Builder permissionPolicy(BetaManagedAgentsAlwaysAskPolicy alwaysAsk)
Alias for calling permissionPolicy with
PermissionPolicy.ofAlwaysAsk(alwaysAsk).
-
permissionPolicy
final BetaManagedAgentsGrepToolConfig.Builder permissionPolicy(BetaManagedAgentsAutoPolicy auto)
Alias for calling permissionPolicy with
PermissionPolicy.ofAuto(auto).
-
type
final BetaManagedAgentsGrepToolConfig.Builder type(JsonValue type)
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("grep")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsGrepToolConfig.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsGrepToolConfig.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsGrepToolConfig.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsGrepToolConfig.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsGrepToolConfig.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsGrepToolConfig build()
Returns an immutable instance of BetaManagedAgentsGrepToolConfig.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.enabled() .permissionPolicy()
-
-
-
-