Class TriggerPredicateConditionArgs.Builder

    • Method Detail

      • crawlState

        public TriggerPredicateConditionArgs.Builder crawlState​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> crawlState)
        Parameters:
        crawlState - The condition crawl state. Currently, the values supported are `RUNNING`, `SUCCEEDED`, `CANCELLED`, and `FAILED`. If this is specified, `crawler_name` must also be specified. Conflicts with `state`.
        Returns:
        builder
      • crawlState

        public TriggerPredicateConditionArgs.Builder crawlState​(java.lang.String crawlState)
        Parameters:
        crawlState - The condition crawl state. Currently, the values supported are `RUNNING`, `SUCCEEDED`, `CANCELLED`, and `FAILED`. If this is specified, `crawler_name` must also be specified. Conflicts with `state`.
        Returns:
        builder
      • crawlerName

        public TriggerPredicateConditionArgs.Builder crawlerName​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> crawlerName)
        Parameters:
        crawlerName - The name of the crawler to watch. If this is specified, `crawl_state` must also be specified. Conflicts with `job_name`.
        Returns:
        builder
      • crawlerName

        public TriggerPredicateConditionArgs.Builder crawlerName​(java.lang.String crawlerName)
        Parameters:
        crawlerName - The name of the crawler to watch. If this is specified, `crawl_state` must also be specified. Conflicts with `job_name`.
        Returns:
        builder
      • jobName

        public TriggerPredicateConditionArgs.Builder jobName​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> jobName)
        Parameters:
        jobName - The name of the job to watch. If this is specified, `state` must also be specified. Conflicts with `crawler_name`.
        Returns:
        builder
      • jobName

        public TriggerPredicateConditionArgs.Builder jobName​(java.lang.String jobName)
        Parameters:
        jobName - The name of the job to watch. If this is specified, `state` must also be specified. Conflicts with `crawler_name`.
        Returns:
        builder
      • logicalOperator

        public TriggerPredicateConditionArgs.Builder logicalOperator​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> logicalOperator)
        Parameters:
        logicalOperator - A logical operator. Defaults to `EQUALS`.
        Returns:
        builder
      • logicalOperator

        public TriggerPredicateConditionArgs.Builder logicalOperator​(java.lang.String logicalOperator)
        Parameters:
        logicalOperator - A logical operator. Defaults to `EQUALS`.
        Returns:
        builder
      • state

        public TriggerPredicateConditionArgs.Builder state​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - The condition job state. Currently, the values supported are `SUCCEEDED`, `STOPPED`, `TIMEOUT` and `FAILED`. If this is specified, `job_name` must also be specified. Conflicts with `crawler_state`.
        Returns:
        builder
      • state

        public TriggerPredicateConditionArgs.Builder state​(java.lang.String state)
        Parameters:
        state - The condition job state. Currently, the values supported are `SUCCEEDED`, `STOPPED`, `TIMEOUT` and `FAILED`. If this is specified, `job_name` must also be specified. Conflicts with `crawler_state`.
        Returns:
        builder