Class ResponseInputItem.ShellCall.Action.Builder
-
- All Implemented Interfaces:
public final class ResponseInputItem.ShellCall.Action.BuilderA builder for Action.
-
-
Method Summary
-
-
Method Detail
-
commands
final ResponseInputItem.ShellCall.Action.Builder commands(List<String> commands)
Ordered shell commands for the execution environment to run.
-
commands
final ResponseInputItem.ShellCall.Action.Builder commands(JsonField<List<String>> commands)
Sets Builder.commands to an arbitrary JSON value.
You should usually call Builder.commands with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addCommand
final ResponseInputItem.ShellCall.Action.Builder addCommand(String command)
-
maxOutputLength
final ResponseInputItem.ShellCall.Action.Builder maxOutputLength(Long maxOutputLength)
Maximum number of UTF-8 characters to capture from combined stdout and stderr output.
-
maxOutputLength
final ResponseInputItem.ShellCall.Action.Builder maxOutputLength(Long maxOutputLength)
Alias for Builder.maxOutputLength.
This unboxed primitive overload exists for backwards compatibility.
-
maxOutputLength
final ResponseInputItem.ShellCall.Action.Builder maxOutputLength(Optional<Long> maxOutputLength)
Alias for calling Builder.maxOutputLength with
maxOutputLength.orElse(null).
-
maxOutputLength
final ResponseInputItem.ShellCall.Action.Builder maxOutputLength(JsonField<Long> maxOutputLength)
Sets Builder.maxOutputLength to an arbitrary JSON value.
You should usually call Builder.maxOutputLength with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timeoutMs
final ResponseInputItem.ShellCall.Action.Builder timeoutMs(Long timeoutMs)
Maximum wall-clock time in milliseconds to allow the shell commands to run.
-
timeoutMs
final ResponseInputItem.ShellCall.Action.Builder timeoutMs(Long timeoutMs)
Alias for Builder.timeoutMs.
This unboxed primitive overload exists for backwards compatibility.
-
timeoutMs
final ResponseInputItem.ShellCall.Action.Builder timeoutMs(Optional<Long> timeoutMs)
Alias for calling Builder.timeoutMs with
timeoutMs.orElse(null).
-
timeoutMs
final ResponseInputItem.ShellCall.Action.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 ResponseInputItem.ShellCall.Action.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputItem.ShellCall.Action.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputItem.ShellCall.Action.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputItem.ShellCall.Action.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputItem.ShellCall.Action.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputItem.ShellCall.Action build()
Returns an immutable instance of Action.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.commands()
-
-
-
-