Class ScheduledJobSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public ScheduledJobSummary.Builder displayName​(String displayName)
        Scheduled Job name
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public ScheduledJobSummary.Builder compartmentId​(String compartmentId)
        OCID for the Compartment
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • scheduleType

        public ScheduledJobSummary.Builder scheduleType​(ScheduleTypes scheduleType)
        the type of scheduling this Scheduled Job follows
        Parameters:
        scheduleType - the value to set
        Returns:
        this builder
      • timeNextExecution

        public ScheduledJobSummary.Builder timeNextExecution​(Date timeNextExecution)
        the time/date of the next scheduled execution of this Scheduled Job
        Parameters:
        timeNextExecution - the value to set
        Returns:
        this builder
      • timeLastExecution

        public ScheduledJobSummary.Builder timeLastExecution​(Date timeLastExecution)
        the time/date of the last execution of this Scheduled Job
        Parameters:
        timeLastExecution - the value to set
        Returns:
        this builder
      • managedInstances

        public ScheduledJobSummary.Builder managedInstances​(List<Id> managedInstances)
        the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups)
        Parameters:
        managedInstances - the value to set
        Returns:
        this builder
      • managedInstanceGroups

        public ScheduledJobSummary.Builder managedInstanceGroups​(List<Id> managedInstanceGroups)
        the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances)
        Parameters:
        managedInstanceGroups - the value to set
        Returns:
        this builder
      • operationType

        public ScheduledJobSummary.Builder operationType​(OperationTypes operationType)
        the type of operation this Scheduled Job performs
        Parameters:
        operationType - the value to set
        Returns:
        this builder
      • lifecycleState

        public ScheduledJobSummary.Builder lifecycleState​(LifecycleStates lifecycleState)
        The current state of the Scheduled Job.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • freeformTags

        public ScheduledJobSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public ScheduledJobSummary.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • osFamily

        public ScheduledJobSummary.Builder osFamily​(OsFamilies osFamily)
        The Operating System type of the managed instance.
        Parameters:
        osFamily - the value to set
        Returns:
        this builder
      • isRestricted

        public ScheduledJobSummary.Builder isRestricted​(Boolean isRestricted)
        true, if the schedule job has its update capabilities restricted.

        (Used to track Autonomous Scheduled Job)

        Parameters:
        isRestricted - the value to set
        Returns:
        this builder