public static class StatementOutput.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StatementOutput |
build() |
StatementOutput.Builder |
copy(StatementOutput model) |
StatementOutput.Builder |
data(StatementOutputData data) |
StatementOutput.Builder |
errorName(String errorName)
The name of the error in the statement output.
|
StatementOutput.Builder |
errorValue(String errorValue)
The value of the error in the statement output.
|
StatementOutput.Builder |
status(StatementOutput.Status status)
Status of the statement output.
|
StatementOutput.Builder |
traceback(List<String> traceback)
The traceback of the statement output.
|
public StatementOutput.Builder data(StatementOutputData data)
public StatementOutput.Builder status(StatementOutput.Status status)
Status of the statement output.
status
- the value to setpublic StatementOutput.Builder errorName(String errorName)
The name of the error in the statement output.
errorName
- the value to setpublic StatementOutput.Builder errorValue(String errorValue)
The value of the error in the statement output.
errorValue
- the value to setpublic StatementOutput.Builder traceback(List<String> traceback)
The traceback of the statement output.
traceback
- the value to setpublic StatementOutput build()
public StatementOutput.Builder copy(StatementOutput model)
Copyright © 2016–2024. All rights reserved.