Class SandboxCommandOutput.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaisandbox.model.SandboxCommandOutput.Builder
-
- Enclosing class:
- SandboxCommandOutput
public static class SandboxCommandOutput.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SandboxCommandOutputbuild()SandboxCommandOutput.BuildercommandId(String commandId)Sandbox command identifier.SandboxCommandOutput.Buildercopy(SandboxCommandOutput model)SandboxCommandOutput.BuilderexitCode(Integer exitCode)Process exit code when available.SandboxCommandOutput.BuilderlastSeq(Long lastSeq)Last command event sequence number included in the output.SandboxCommandOutput.Builderstderr(String stderr)Standard error captured from the requested event sequence.SandboxCommandOutput.Builderstdout(String stdout)Standard output captured from the requested event sequence.
-
-
-
Method Detail
-
commandId
public SandboxCommandOutput.Builder commandId(String commandId)
Sandbox command identifier.- Parameters:
commandId- the value to set- Returns:
- this builder
-
exitCode
public SandboxCommandOutput.Builder exitCode(Integer exitCode)
Process exit code when available.- Parameters:
exitCode- the value to set- Returns:
- this builder
-
stdout
public SandboxCommandOutput.Builder stdout(String stdout)
Standard output captured from the requested event sequence.- Parameters:
stdout- the value to set- Returns:
- this builder
-
stderr
public SandboxCommandOutput.Builder stderr(String stderr)
Standard error captured from the requested event sequence.- Parameters:
stderr- the value to set- Returns:
- this builder
-
lastSeq
public SandboxCommandOutput.Builder lastSeq(Long lastSeq)
Last command event sequence number included in the output.- Parameters:
lastSeq- the value to set- Returns:
- this builder
-
build
public SandboxCommandOutput build()
-
copy
public SandboxCommandOutput.Builder copy(SandboxCommandOutput model)
-
-