Interface Condition.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Condition.Builder,Condition>, SdkBuilder<Condition.Builder,Condition>, SdkPojo
Enclosing class:
Condition

public static interface Condition.Builder extends SdkPojo, CopyableBuilder<Condition.Builder,Condition>
  • Method Details

    • logicalOperator

      Condition.Builder logicalOperator(String logicalOperator)

      A logical operator.

      Parameters:
      logicalOperator - A logical operator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logicalOperator

      Condition.Builder logicalOperator(LogicalOperator logicalOperator)

      A logical operator.

      Parameters:
      logicalOperator - A logical operator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobName

      Condition.Builder jobName(String jobName)

      The name of the job whose JobRuns this condition applies to, and on which this trigger waits.

      Parameters:
      jobName - The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      Condition.Builder state(String state)

      The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.

      Parameters:
      state - The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.

      Parameters:
      state - The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • crawlerName

      Condition.Builder crawlerName(String crawlerName)

      The name of the crawler to which this condition applies.

      Parameters:
      crawlerName - The name of the crawler to which this condition applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • crawlState

      Condition.Builder crawlState(String crawlState)

      The state of the crawler to which this condition applies.

      Parameters:
      crawlState - The state of the crawler to which this condition applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • crawlState

      Condition.Builder crawlState(CrawlState crawlState)

      The state of the crawler to which this condition applies.

      Parameters:
      crawlState - The state of the crawler to which this condition applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: