Package com.oracle.bmc.dataflow.model
Class StatementOutput.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.StatementOutput.Builder
-
- Enclosing class:
- StatementOutput
public static class StatementOutput.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
data
public StatementOutput.Builder data(StatementOutputData data)
-
status
public StatementOutput.Builder status(StatementOutput.Status status)
Status of the statement output.- Parameters:
status
- the value to set- Returns:
- this builder
-
errorName
public StatementOutput.Builder errorName(String errorName)
The name of the error in the statement output.- Parameters:
errorName
- the value to set- Returns:
- this builder
-
errorValue
public StatementOutput.Builder errorValue(String errorValue)
The value of the error in the statement output.- Parameters:
errorValue
- the value to set- Returns:
- this builder
-
traceback
public StatementOutput.Builder traceback(List<String> traceback)
The traceback of the statement output.- Parameters:
traceback
- the value to set- Returns:
- this builder
-
build
public StatementOutput build()
-
copy
public StatementOutput.Builder copy(StatementOutput model)
-
-