Interface TriggerConfig.Builder

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

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

    • triggerType

      TriggerConfig.Builder triggerType(String triggerType)

      Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.

      Parameters:
      triggerType - Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • triggerType

      TriggerConfig.Builder triggerType(TriggerType triggerType)

      Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.

      Parameters:
      triggerType - Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • triggerProperties

      TriggerConfig.Builder triggerProperties(TriggerProperties triggerProperties)

      Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to the Scheduled trigger type.

      Parameters:
      triggerProperties - Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to the Scheduled trigger type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerProperties

      default TriggerConfig.Builder triggerProperties(Consumer<TriggerProperties.Builder> triggerProperties)

      Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to the Scheduled trigger type.

      This is a convenience method that creates an instance of the TriggerProperties.Builder avoiding the need to create one manually via TriggerProperties.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to triggerProperties(TriggerProperties).

      Parameters:
      triggerProperties - a consumer that will call methods on TriggerProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: