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