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