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