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
Modifier and TypeMethodDescriptiondefault StatementOutput.Builder
The code execution output.data
(StatementOutputData data) The code execution output.The name of the error in the output.errorValue
(String errorValue) The error value of the output.executionCount
(Integer executionCount) The execution count of the output.The status of the code execution output.status
(StatementState status) The status of the code execution output.The traceback of the output.traceback
(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 Details
-
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
The code execution output.
This is a convenience method that creates an instance of theStatementOutputData.Builder
avoiding the need to create one manually viaStatementOutputData.builder()
.When the
Consumer
completes,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:
-
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
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:
-
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:
-
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
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
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
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.
-