Class JobExecProbeDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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