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.BuildertriggerProperties(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
Scheduledtrigger type.- Parameters:
triggerProperties- Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to theScheduledtrigger 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 theScheduledtrigger type.TriggerProperties.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:
-