Class JobExecProbeDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190101")
    public final class JobExecProbeDetails
    extends JobProbeDetails
    Runs a command in the job run to check whether application is healthy or not.
    Note: Objects should always be created or deserialized using the JobExecProbeDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the JobExecProbeDetails.Builder, which maintain a set of all explicitly set fields called JobExecProbeDetails.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getCommand

        public List<String> getCommand()
        The commands to run in the target job run to perform the startup probe
        Returns:
        the value
      • getPeriodInSeconds

        public Integer getPeriodInSeconds()
        Number of seconds how often the job run should perform a startup probe
        Returns:
        the value
      • getFailureThreshold

        public Integer getFailureThreshold()
        How many times the job will try before giving up when a probe fails.
        Returns:
        the value
      • getInitialDelayInSeconds

        public Integer getInitialDelayInSeconds()
        Number of seconds after the job run has started before a startup probe is initiated.
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class JobProbeDetails
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation