Class BulkApplyResourceAction.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • resourceActionId

        public BulkApplyResourceAction.Builder resourceActionId​(String resourceActionId)
        The unique OCIDs of the resource actions that recommendations are applied to.
        Parameters:
        resourceActionId - the value to set
        Returns:
        this builder
      • timeStatusEnd

        public BulkApplyResourceAction.Builder timeStatusEnd​(Date timeStatusEnd)
        The date and time the current status will change.

        The format is defined by RFC3339.

        For example, "The current postponed status of the resource action will end and change to pending on this date and time."

        Parameters:
        timeStatusEnd - the value to set
        Returns:
        this builder
      • parameters

        public BulkApplyResourceAction.Builder parameters​(Map<String,​Object> parameters)
        Additional parameter key-value pairs defining the resource action.

        For example:

        {"timeAmount": 15, "timeUnit": "seconds"}

        Parameters:
        parameters - the value to set
        Returns:
        this builder
      • strategyName

        public BulkApplyResourceAction.Builder strategyName​(String strategyName)
        The name of the strategy.
        Parameters:
        strategyName - the value to set
        Returns:
        this builder