Class ScheduledAction.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • schedulingPlanId

        public ScheduledAction.Builder schedulingPlanId​(String schedulingPlanId)
        The OCID of the Scheduling Plan.
        Parameters:
        schedulingPlanId - the value to set
        Returns:
        this builder
      • compartmentId

        public ScheduledAction.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • schedulingWindowId

        public ScheduledAction.Builder schedulingWindowId​(String schedulingWindowId)
        The OCID of the Scheduling Window.
        Parameters:
        schedulingWindowId - the value to set
        Returns:
        this builder
      • displayName

        public ScheduledAction.Builder displayName​(String displayName)
        The display name of the Scheduled Action.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • actionOrder

        public ScheduledAction.Builder actionOrder​(Integer actionOrder)
        The order of the scheduled action.
        Parameters:
        actionOrder - the value to set
        Returns:
        this builder
      • lifecycleState

        public ScheduledAction.Builder lifecycleState​(ScheduledAction.LifecycleState lifecycleState)
        The current state of the Scheduled Action.

        Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • estimatedTimeInMins

        public ScheduledAction.Builder estimatedTimeInMins​(Integer estimatedTimeInMins)
        The estimated patching time for the scheduled action.
        Parameters:
        estimatedTimeInMins - the value to set
        Returns:
        this builder
      • actionParams

        public ScheduledAction.Builder actionParams​(Map<String,​String> actionParams)
        Map<ParamName, ParamValue> where a key value pair describes the specific action parameter.

        Example: {“count”: “3”}

        Parameters:
        actionParams - the value to set
        Returns:
        this builder
      • actionMembers

        public ScheduledAction.Builder actionMembers​(List<ActionMember> actionMembers)
        The list of action members in a scheduled action.
        Parameters:
        actionMembers - the value to set
        Returns:
        this builder
      • freeformTags

        public ScheduledAction.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
      • timeCreated

        public ScheduledAction.Builder timeCreated​(Date timeCreated)
        The date and time the Scheduled Action Resource was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ScheduledAction.Builder timeUpdated​(Date timeUpdated)
        The date and time the Scheduled Action Resource was updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder