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 Details

    • 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

      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

      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.