Package com.oracle.bmc.datascience.model
Class JobExecProbeDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.JobExecProbeDetails.Builder
-
- Enclosing class:
- JobExecProbeDetails
public static class JobExecProbeDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobExecProbeDetails
build()
JobExecProbeDetails.Builder
command(List<String> command)
The commands to run in the target job run to perform the startup probeJobExecProbeDetails.Builder
copy(JobExecProbeDetails model)
JobExecProbeDetails.Builder
failureThreshold(Integer failureThreshold)
How many times the job will try before giving up when a probe fails.JobExecProbeDetails.Builder
initialDelayInSeconds(Integer initialDelayInSeconds)
Number of seconds after the job run has started before a startup probe is initiated.JobExecProbeDetails.Builder
periodInSeconds(Integer periodInSeconds)
Number of seconds how often the job run should perform a startup probe
-
-
-
Method Detail
-
command
public JobExecProbeDetails.Builder command(List<String> command)
The commands to run in the target job run to perform the startup probe- Parameters:
command
- the value to set- Returns:
- this builder
-
periodInSeconds
public JobExecProbeDetails.Builder periodInSeconds(Integer periodInSeconds)
Number of seconds how often the job run should perform a startup probe- Parameters:
periodInSeconds
- the value to set- Returns:
- this builder
-
failureThreshold
public JobExecProbeDetails.Builder failureThreshold(Integer failureThreshold)
How many times the job will try before giving up when a probe fails.- Parameters:
failureThreshold
- the value to set- Returns:
- this builder
-
initialDelayInSeconds
public JobExecProbeDetails.Builder initialDelayInSeconds(Integer initialDelayInSeconds)
Number of seconds after the job run has started before a startup probe is initiated.- Parameters:
initialDelayInSeconds
- the value to set- Returns:
- this builder
-
build
public JobExecProbeDetails build()
-
copy
public JobExecProbeDetails.Builder copy(JobExecProbeDetails model)
-
-