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 as defined by the user.triggerProperties
(TriggerProperties triggerProperties) Specifies the configuration details of a schedule-triggered flow as defined by the user.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. This can be
OnDemand
,Scheduled
, orEvent
.- Parameters:
triggerType
- Specifies the type of flow trigger. This can beOnDemand
,Scheduled
, orEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerType
Specifies the type of flow trigger. This can be
OnDemand
,Scheduled
, orEvent
.- Parameters:
triggerType
- Specifies the type of flow trigger. This can beOnDemand
,Scheduled
, orEvent
.- 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 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 theScheduled
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
This is a convenience method that creates an instance of theScheduled
trigger type.TriggerProperties.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:
-