outcome

public abstract CodeExecutionResult.Builder outcome(Outcome outcome)

Setter for outcome.

outcome: Required. Outcome of the code execution.


@CanIgnoreReturnValue()
public CodeExecutionResult.Builder outcome(Outcome.Known knownType)

Setter for outcome given a known enum.

outcome: Required. Outcome of the code execution.


@CanIgnoreReturnValue()
public CodeExecutionResult.Builder outcome(String outcome)

Setter for outcome given a string.

outcome: Required. Outcome of the code execution.