Class ScheduledRun.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public ScheduledRun.Builder id​(String id)
        The ocid representing unique shedule run
        Parameters:
        id - the value to set
        Returns:
        this builder
      • scheduleId

        public ScheduledRun.Builder scheduleId​(String scheduleId)
        The ocid representing unique shedule
        Parameters:
        scheduleId - the value to set
        Returns:
        this builder
      • timeCreated

        public ScheduledRun.Builder timeCreated​(Date timeCreated)
        The time when schedule started executing
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeFinished

        public ScheduledRun.Builder timeFinished​(Date timeFinished)
        The time when schedule finished executing
        Parameters:
        timeFinished - the value to set
        Returns:
        this builder
      • lifecycleState

        public ScheduledRun.Builder lifecycleState​(ScheduledRun.LifecycleState lifecycleState)
        Specifies if the schedule job was run successfully or not.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public ScheduledRun.Builder lifecycleDetails​(String lifecycleDetails)
        Additional details about scheduled run failure
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder