Class BetaManagedAgentsAgentToolset20260401BashInput.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentToolset20260401BashInput.BuilderA builder for BetaManagedAgentsAgentToolset20260401BashInput.
-
-
Method Summary
-
-
Method Detail
-
command
final BetaManagedAgentsAgentToolset20260401BashInput.Builder command(String command)
Shell command to execute. Omit only when
restartis true.
-
command
final BetaManagedAgentsAgentToolset20260401BashInput.Builder command(JsonField<String> command)
Sets Builder.command to an arbitrary JSON value.
You should usually call Builder.command with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
restart
final BetaManagedAgentsAgentToolset20260401BashInput.Builder restart(Boolean restart)
When true, restart the persistent bash session instead of running a command. Subsequent calls without
restartwill run against the fresh session.
-
restart
final BetaManagedAgentsAgentToolset20260401BashInput.Builder restart(JsonField<Boolean> restart)
Sets Builder.restart to an arbitrary JSON value.
You should usually call Builder.restart with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timeoutMs
final BetaManagedAgentsAgentToolset20260401BashInput.Builder timeoutMs(Long timeoutMs)
Per-call timeout in milliseconds. Defaults to the runner-wide tool timeout when omitted or zero.
-
timeoutMs
final BetaManagedAgentsAgentToolset20260401BashInput.Builder timeoutMs(JsonField<Long> timeoutMs)
Sets Builder.timeoutMs to an arbitrary JSON value.
You should usually call Builder.timeoutMs with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsAgentToolset20260401BashInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsAgentToolset20260401BashInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsAgentToolset20260401BashInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsAgentToolset20260401BashInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsAgentToolset20260401BashInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsAgentToolset20260401BashInput build()
Returns an immutable instance of BetaManagedAgentsAgentToolset20260401BashInput.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-