Class SandboxCommandSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaisandbox.model.SandboxCommandSummary.Builder
-
- Enclosing class:
- SandboxCommandSummary
public static class SandboxCommandSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SandboxCommandSummary.Builderargs(List<String> args)Command arguments.SandboxCommandSummarybuild()SandboxCommandSummary.Buildercommand(String command)The command executed in the sandbox runtime.SandboxCommandSummary.Buildercopy(SandboxCommandSummary model)SandboxCommandSummary.Buildercwd(String cwd)Absolute directory path used as the working directory for command execution in the sandbox.SandboxCommandSummary.BuilderexitCode(Integer exitCode)Process exit code when available.SandboxCommandSummary.Builderid(String id)Sandbox command identifier.SandboxCommandSummary.BuildersandboxId(String sandboxId)Sandbox identifier that this command runs against.SandboxCommandSummary.BuildertimeCreated(Date timeCreated)The date and time the command was created, in RFC 3339 format.SandboxCommandSummary.BuildertimeFinished(Date timeFinished)The date and time command execution finished, in RFC 3339 format.SandboxCommandSummary.BuildertimeStarted(Date timeStarted)The date and time command execution started, in RFC 3339 format.SandboxCommandSummary.BuildertimeUpdated(Date timeUpdated)The date and time the command was last updated, in RFC 3339 format.
-
-
-
Method Detail
-
id
public SandboxCommandSummary.Builder id(String id)
Sandbox command identifier.- Parameters:
id- the value to set- Returns:
- this builder
-
sandboxId
public SandboxCommandSummary.Builder sandboxId(String sandboxId)
Sandbox identifier that this command runs against.- Parameters:
sandboxId- the value to set- Returns:
- this builder
-
cwd
public SandboxCommandSummary.Builder cwd(String cwd)
Absolute directory path used as the working directory for command execution in the sandbox.- Parameters:
cwd- the value to set- Returns:
- this builder
-
command
public SandboxCommandSummary.Builder command(String command)
The command executed in the sandbox runtime.- Parameters:
command- the value to set- Returns:
- this builder
-
args
public SandboxCommandSummary.Builder args(List<String> args)
Command arguments.- Parameters:
args- the value to set- Returns:
- this builder
-
exitCode
public SandboxCommandSummary.Builder exitCode(Integer exitCode)
Process exit code when available.- Parameters:
exitCode- the value to set- Returns:
- this builder
-
timeCreated
public SandboxCommandSummary.Builder timeCreated(Date timeCreated)
The date and time the command was created, in RFC 3339 format.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public SandboxCommandSummary.Builder timeUpdated(Date timeUpdated)
The date and time the command was last updated, in RFC 3339 format.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
timeStarted
public SandboxCommandSummary.Builder timeStarted(Date timeStarted)
The date and time command execution started, in RFC 3339 format.- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeFinished
public SandboxCommandSummary.Builder timeFinished(Date timeFinished)
The date and time command execution finished, in RFC 3339 format.- Parameters:
timeFinished- the value to set- Returns:
- this builder
-
build
public SandboxCommandSummary build()
-
copy
public SandboxCommandSummary.Builder copy(SandboxCommandSummary model)
-
-