Interface CodeInterpreterInvocationOutput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CodeInterpreterInvocationOutput.Builder,CodeInterpreterInvocationOutput>,SdkBuilder<CodeInterpreterInvocationOutput.Builder,CodeInterpreterInvocationOutput>,SdkPojo
- Enclosing class:
- CodeInterpreterInvocationOutput
public static interface CodeInterpreterInvocationOutput.Builder extends SdkPojo, CopyableBuilder<CodeInterpreterInvocationOutput.Builder,CodeInterpreterInvocationOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodeInterpreterInvocationOutput.BuilderexecutionError(String executionError)Contains the error returned from code execution.CodeInterpreterInvocationOutput.BuilderexecutionOutput(String executionOutput)Contains the successful output returned from code executionCodeInterpreterInvocationOutput.BuilderexecutionTimeout(Boolean executionTimeout)Indicates if the execution of the code timed out.CodeInterpreterInvocationOutput.Builderfiles(String... files)Contains output files, if generated by code execution.CodeInterpreterInvocationOutput.Builderfiles(Collection<String> files)Contains output files, if generated by code execution.-
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
-
executionError
CodeInterpreterInvocationOutput.Builder executionError(String executionError)
Contains the error returned from code execution.
- Parameters:
executionError- Contains the error returned from code execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionOutput
CodeInterpreterInvocationOutput.Builder executionOutput(String executionOutput)
Contains the successful output returned from code execution
- Parameters:
executionOutput- Contains the successful output returned from code execution- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionTimeout
CodeInterpreterInvocationOutput.Builder executionTimeout(Boolean executionTimeout)
Indicates if the execution of the code timed out.
- Parameters:
executionTimeout- Indicates if the execution of the code timed out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
CodeInterpreterInvocationOutput.Builder files(Collection<String> files)
Contains output files, if generated by code execution.
- Parameters:
files- Contains output files, if generated by code execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
CodeInterpreterInvocationOutput.Builder files(String... files)
Contains output files, if generated by code execution.
- Parameters:
files- Contains output files, if generated by code execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-