Class ActionGroup.Builder

  • Enclosing class:
    ActionGroup

    public static class ActionGroup.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • resourceId

        public ActionGroup.Builder resourceId​(String resourceId)
        Provide the ID of the resource.

        Example fleet ID.

        Parameters:
        resourceId - the value to set
        Returns:
        this builder
      • applicationType

        public ActionGroup.Builder applicationType​(String applicationType)
        Application Type associated.

        Only applicable if type is ENVIRONMENT.

        Parameters:
        applicationType - the value to set
        Returns:
        this builder
      • product

        public ActionGroup.Builder product​(String product)
        Product associated.

        Only applicable if type is PRODUCT.

        Parameters:
        product - the value to set
        Returns:
        this builder
      • lifecycleOperation

        public ActionGroup.Builder lifecycleOperation​(String lifecycleOperation)
        LifeCycle Operation
        Parameters:
        lifecycleOperation - the value to set
        Returns:
        this builder
      • runbookId

        public ActionGroup.Builder runbookId​(String runbookId)
        ID of the runbook
        Parameters:
        runbookId - the value to set
        Returns:
        this builder
      • targetId

        public ActionGroup.Builder targetId​(String targetId)
        Provide the target if schedule is created against the target
        Parameters:
        targetId - the value to set
        Returns:
        this builder
      • subjects

        public ActionGroup.Builder subjects​(List<String> subjects)
        Provide subjects that need to be considered for the schedule.
        Parameters:
        subjects - the value to set
        Returns:
        this builder