public static interface StatementOutput.Builder extends SdkPojo, CopyableBuilder<StatementOutput.Builder,StatementOutput>
| Modifier and Type | Method and Description |
|---|---|
default StatementOutput.Builder |
data(Consumer<StatementOutputData.Builder> data)
The code execution output.
|
StatementOutput.Builder |
data(StatementOutputData data)
The code execution output.
|
StatementOutput.Builder |
errorName(String errorName)
The name of the error in the output.
|
StatementOutput.Builder |
errorValue(String errorValue)
The error value of the output.
|
StatementOutput.Builder |
executionCount(Integer executionCount)
The execution count of the output.
|
StatementOutput.Builder |
status(StatementState status)
The status of the code execution output.
|
StatementOutput.Builder |
status(String status)
The status of the code execution output.
|
StatementOutput.Builder |
traceback(Collection<String> traceback)
The traceback of the output.
|
StatementOutput.Builder |
traceback(String... traceback)
The traceback of the output.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStatementOutput.Builder data(StatementOutputData data)
The code execution output.
data - The code execution output.default StatementOutput.Builder data(Consumer<StatementOutputData.Builder> data)
The code execution output.
This is a convenience method that creates an instance of theStatementOutputData.Builder avoiding the
need to create one manually via StatementOutputData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to data(StatementOutputData).
data - a consumer that will call methods on StatementOutputData.Builderdata(StatementOutputData)StatementOutput.Builder executionCount(Integer executionCount)
The execution count of the output.
executionCount - The execution count of the output.StatementOutput.Builder status(String status)
The status of the code execution output.
status - The status of the code execution output.StatementState,
StatementStateStatementOutput.Builder status(StatementState status)
The status of the code execution output.
status - The status of the code execution output.StatementState,
StatementStateStatementOutput.Builder errorName(String errorName)
The name of the error in the output.
errorName - The name of the error in the output.StatementOutput.Builder errorValue(String errorValue)
The error value of the output.
errorValue - The error value of the output.StatementOutput.Builder traceback(Collection<String> traceback)
The traceback of the output.
traceback - The traceback of the output.StatementOutput.Builder traceback(String... traceback)
The traceback of the output.
traceback - The traceback of the output.Copyright © 2023. All rights reserved.