Class SchedulerDefinition.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public SchedulerDefinition.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Example: My new resource

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

        public SchedulerDefinition.Builder description​(String description)
        A user-friendly description.

        To provide some insight about the resource. Avoid entering confidential information.

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

        public SchedulerDefinition.Builder compartmentId​(String compartmentId)
        Tenancy OCID
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • resourceRegion

        public SchedulerDefinition.Builder resourceRegion​(String resourceRegion)
        Associated region
        Parameters:
        resourceRegion - the value to set
        Returns:
        this builder
      • timeCreated

        public SchedulerDefinition.Builder timeCreated​(Date timeCreated)
        The time this resource was created.

        An RFC3339 formatted datetime string.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public SchedulerDefinition.Builder timeUpdated​(Date timeUpdated)
        The time this resource was last updated.

        An RFC3339 formatted datetime string.

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • timeOfNextRun

        public SchedulerDefinition.Builder timeOfNextRun​(Date timeOfNextRun)
        The scheduled date for the next run of the Job.
        Parameters:
        timeOfNextRun - the value to set
        Returns:
        this builder
      • activityInitiationCutOff

        public SchedulerDefinition.Builder activityInitiationCutOff​(Integer activityInitiationCutOff)
        Activity Initiation Cut Off.
        Parameters:
        activityInitiationCutOff - the value to set
        Returns:
        this builder
      • countOfAffectedActionGroups

        public SchedulerDefinition.Builder countOfAffectedActionGroups​(Integer countOfAffectedActionGroups)
        Count of Action Groups affected by the Schedule.
        Parameters:
        countOfAffectedActionGroups - the value to set
        Returns:
        this builder
      • countOfAffectedResources

        public SchedulerDefinition.Builder countOfAffectedResources​(Integer countOfAffectedResources)
        Count of Resources affected by the Schedule.
        Parameters:
        countOfAffectedResources - the value to set
        Returns:
        this builder
      • countOfAffectedTargets

        public SchedulerDefinition.Builder countOfAffectedTargets​(Integer countOfAffectedTargets)
        Count of Targets affected by the Schedule.
        Parameters:
        countOfAffectedTargets - the value to set
        Returns:
        this builder
      • applicationTypes

        public SchedulerDefinition.Builder applicationTypes​(List<String> applicationTypes)
        All application types that are part of the schedule for ENVIRONMENT ActionGroup Type.
        Parameters:
        applicationTypes - the value to set
        Returns:
        this builder
      • products

        public SchedulerDefinition.Builder products​(List<String> products)
        All products that are part of the schedule for PRODUCT ActionGroup Type.
        Parameters:
        products - the value to set
        Returns:
        this builder
      • lifecycleOperations

        public SchedulerDefinition.Builder lifecycleOperations​(List<String> lifecycleOperations)
        All LifeCycle Operations that are part of the schedule.
        Parameters:
        lifecycleOperations - the value to set
        Returns:
        this builder
      • actionGroups

        public SchedulerDefinition.Builder actionGroups​(List<ActionGroup> actionGroups)
        Action Groups associated with the Schedule.
        Parameters:
        actionGroups - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public SchedulerDefinition.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, can be used to provide actionable information for a resource in Failed state.

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

        public SchedulerDefinition.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 SchedulerDefinition.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
      • systemTags

        public SchedulerDefinition.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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