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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TriggerConfig.BuildertriggerProperties(Consumer<TriggerProperties.Builder> triggerProperties)Specifies the configuration details of a schedule-triggered flow that you define.TriggerConfig.BuildertriggerProperties(TriggerProperties triggerProperties)Specifies the configuration details of a schedule-triggered flow that you define.TriggerConfig.BuildertriggerType(String triggerType)Specifies the type of flow trigger.TriggerConfig.BuildertriggerType(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 Detail
-
triggerType
TriggerConfig.Builder triggerType(String 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,TriggerType
-
triggerType
TriggerConfig.Builder triggerType(TriggerType 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,TriggerType
-
triggerProperties
TriggerConfig.Builder triggerProperties(TriggerProperties 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.Builderavoiding the need to create one manually viaTriggerProperties.builder().When the
Consumercompletes,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:
triggerProperties(TriggerProperties)
-
-