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 Summary
Modifier and TypeMethodDescriptiondefault TriggerConfig.Builder
triggerProperties
(Consumer<TriggerProperties.Builder> triggerProperties) Specifies the configuration details of a schedule-triggered flow that you define.triggerProperties
(TriggerProperties triggerProperties) Specifies the configuration details of a schedule-triggered flow that you define.triggerType
(String triggerType) Specifies the type of flow trigger.triggerType
(TriggerType triggerType) Specifies the type of flow trigger.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
triggerType
Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
- Parameters:
triggerType
- Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerType
Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
- Parameters:
triggerType
- Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerProperties
Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
- Parameters:
triggerProperties
- Specifies the configuration details of a schedule-triggered flow that you define. 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 that you define. Currently, these settings only apply to the Scheduled trigger type.
This is a convenience method that creates an instance of theTriggerProperties.Builder
avoiding the need to create one manually viaTriggerProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totriggerProperties(TriggerProperties)
.- Parameters:
triggerProperties
- a consumer that will call methods onTriggerProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-