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