Class BetaBashCodeExecutionResultBlockParam.Builder
-
- All Implemented Interfaces:
public final class BetaBashCodeExecutionResultBlockParam.BuilderA builder for BetaBashCodeExecutionResultBlockParam.
-
-
Method Summary
-
-
Method Detail
-
content
final BetaBashCodeExecutionResultBlockParam.Builder content(List<BetaBashCodeExecutionOutputBlockParam> content)
-
content
final BetaBashCodeExecutionResultBlockParam.Builder content(JsonField<List<BetaBashCodeExecutionOutputBlockParam>> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed
List<BetaBashCodeExecutionOutputBlockParam>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addContent
final BetaBashCodeExecutionResultBlockParam.Builder addContent(BetaBashCodeExecutionOutputBlockParam content)
Adds a single BetaBashCodeExecutionOutputBlockParam to Builder.content.
-
addContent
final BetaBashCodeExecutionResultBlockParam.Builder addContent(BetaBashCodeExecutionOutputBlock content)
Alias for calling addContent with
content.toParam().
-
returnCode
final BetaBashCodeExecutionResultBlockParam.Builder returnCode(Long returnCode)
-
returnCode
final BetaBashCodeExecutionResultBlockParam.Builder returnCode(JsonField<Long> returnCode)
Sets Builder.returnCode to an arbitrary JSON value.
You should usually call Builder.returnCode with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
stderr
final BetaBashCodeExecutionResultBlockParam.Builder stderr(String stderr)
-
stderr
final BetaBashCodeExecutionResultBlockParam.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 BetaBashCodeExecutionResultBlockParam.Builder stdout(String stdout)
-
stdout
final BetaBashCodeExecutionResultBlockParam.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.
-
type
final BetaBashCodeExecutionResultBlockParam.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_code_execution_result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaBashCodeExecutionResultBlockParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaBashCodeExecutionResultBlockParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaBashCodeExecutionResultBlockParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaBashCodeExecutionResultBlockParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaBashCodeExecutionResultBlockParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaBashCodeExecutionResultBlockParam build()
Returns an immutable instance of BetaBashCodeExecutionResultBlockParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content() .returnCode() .stderr() .stdout()
-
-
-
-