Class UpdateScheduledJobDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public UpdateScheduledJobDetails.Builder displayName​(String displayName)
        User-friendly name for the scheduled job.

        Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public UpdateScheduledJobDetails.Builder description​(String description)
        User-specified description for the scheduled job.

        Avoid entering confidential information.

        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeNextExecution

        public UpdateScheduledJobDetails.Builder timeNextExecution​(Date timeNextExecution)
        The time of the next execution of this scheduled job (in RFC 3339 format).
        Parameters:
        timeNextExecution - the value to set
        Returns:
        this builder
      • recurringRule

        public UpdateScheduledJobDetails.Builder recurringRule​(String recurringRule)
        The frequency schedule for a recurring scheduled job.
        Parameters:
        recurringRule - the value to set
        Returns:
        this builder
      • operations

        public UpdateScheduledJobDetails.Builder operations​(List<ScheduledJobOperation> operations)
        The list of operations this scheduled job needs to perform.

        A scheduled job supports only one operation type, unless it is one of the following: * UPDATE_PACKAGES * UPDATE_ALL * UPDATE_SECURITY * UPDATE_BUGFIX * UPDATE_ENHANCEMENT * UPDATE_OTHER * UPDATE_KSPLICE_USERSPACE * UPDATE_KSPLICE_KERNEL

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

        public UpdateScheduledJobDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

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

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

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

        public UpdateScheduledJobDetails.Builder retryIntervals​(List<Integer> retryIntervals)
        The amount of time in minutes to wait until retrying the scheduled job.

        If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.

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