Interface StatementOutput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StatementOutput.Builder,StatementOutput>,SdkBuilder<StatementOutput.Builder,StatementOutput>,SdkPojo
- Enclosing class:
- StatementOutput
public static interface StatementOutput.Builder extends SdkPojo, CopyableBuilder<StatementOutput.Builder,StatementOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StatementOutput.Builderdata(Consumer<StatementOutputData.Builder> data)The code execution output.StatementOutput.Builderdata(StatementOutputData data)The code execution output.StatementOutput.BuildererrorName(String errorName)The name of the error in the output.StatementOutput.BuildererrorValue(String errorValue)The error value of the output.StatementOutput.BuilderexecutionCount(Integer executionCount)The execution count of the output.StatementOutput.Builderstatus(String status)The status of the code execution output.StatementOutput.Builderstatus(StatementState status)The status of the code execution output.StatementOutput.Buildertraceback(String... traceback)The traceback of the output.StatementOutput.Buildertraceback(Collection<String> traceback)The traceback of the output.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
data
StatementOutput.Builder data(StatementOutputData data)
The code execution output.
- Parameters:
data- The code execution output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
default StatementOutput.Builder data(Consumer<StatementOutputData.Builder> data)
The code execution output.
This is a convenience method that creates an instance of theStatementOutputData.Builderavoiding the need to create one manually viaStatementOutputData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todata(StatementOutputData).- Parameters:
data- a consumer that will call methods onStatementOutputData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
data(StatementOutputData)
-
executionCount
StatementOutput.Builder executionCount(Integer executionCount)
The execution count of the output.
- Parameters:
executionCount- The execution count of the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
StatementOutput.Builder status(String status)
The status of the code execution output.
- Parameters:
status- The status of the code execution output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatementState,StatementState
-
status
StatementOutput.Builder status(StatementState status)
The status of the code execution output.
- Parameters:
status- The status of the code execution output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatementState,StatementState
-
errorName
StatementOutput.Builder errorName(String errorName)
The name of the error in the output.
- Parameters:
errorName- The name of the error in the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorValue
StatementOutput.Builder errorValue(String errorValue)
The error value of the output.
- Parameters:
errorValue- The error value of the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceback
StatementOutput.Builder traceback(Collection<String> traceback)
The traceback of the output.
- Parameters:
traceback- The traceback of the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceback
StatementOutput.Builder traceback(String... traceback)
The traceback of the output.
- Parameters:
traceback- The traceback of the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-