Class ResponseFunctionShellCallOutputContent.Builder
-
- All Implemented Interfaces:
public final class ResponseFunctionShellCallOutputContent.BuilderA builder for ResponseFunctionShellCallOutputContent.
-
-
Method Summary
-
-
Method Detail
-
outcome
final ResponseFunctionShellCallOutputContent.Builder outcome(ResponseFunctionShellCallOutputContent.Outcome outcome)
The exit or timeout outcome associated with this chunk.
-
outcome
final ResponseFunctionShellCallOutputContent.Builder outcome(JsonField<ResponseFunctionShellCallOutputContent.Outcome> outcome)
Sets Builder.outcome to an arbitrary JSON value.
You should usually call Builder.outcome with a well-typed Outcome value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outcome
final ResponseFunctionShellCallOutputContent.Builder outcome(ResponseFunctionShellCallOutputContent.Outcome.Exit exit)
Alias for calling outcome with
Outcome.ofExit(exit).
-
outcomeTimeout
final ResponseFunctionShellCallOutputContent.Builder outcomeTimeout()
Alias for calling outcome with
Outcome.ofTimeout().
-
exitOutcome
final ResponseFunctionShellCallOutputContent.Builder exitOutcome(Long exitCode)
Alias for calling outcome with the following:
Outcome.Exit.builder() .exitCode(exitCode) .build()
-
stderr
final ResponseFunctionShellCallOutputContent.Builder stderr(String stderr)
Captured stderr output for this chunk of the shell call.
-
stderr
final ResponseFunctionShellCallOutputContent.Builder stderr(JsonField<String> stderr)
Sets Builder.stderr to an arbitrary JSON value.
You should usually call Builder.stderr with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
stdout
final ResponseFunctionShellCallOutputContent.Builder stdout(String stdout)
Captured stdout output for this chunk of the shell call.
-
stdout
final ResponseFunctionShellCallOutputContent.Builder stdout(JsonField<String> stdout)
Sets Builder.stdout to an arbitrary JSON value.
You should usually call Builder.stdout with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseFunctionShellCallOutputContent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseFunctionShellCallOutputContent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseFunctionShellCallOutputContent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseFunctionShellCallOutputContent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseFunctionShellCallOutputContent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseFunctionShellCallOutputContent build()
Returns an immutable instance of ResponseFunctionShellCallOutputContent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.outcome() .stderr() .stdout()
-
-
-
-