Class CfnFlow.TriggerConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.TriggerConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.TriggerConfigProperty>
- Enclosing interface:
CfnFlow.TriggerConfigProperty
@Stability(Stable)
public static final class CfnFlow.TriggerConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.TriggerConfigProperty>
A builder for
CfnFlow.TriggerConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.triggerProperties
(IResolvable triggerProperties) Sets the value ofCfnFlow.TriggerConfigProperty.getTriggerProperties()
triggerProperties
(CfnFlow.ScheduledTriggerPropertiesProperty triggerProperties) Sets the value ofCfnFlow.TriggerConfigProperty.getTriggerProperties()
triggerType
(String triggerType) Sets the value ofCfnFlow.TriggerConfigProperty.getTriggerType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
triggerType
Sets the value ofCfnFlow.TriggerConfigProperty.getTriggerType()
- Parameters:
triggerType
- Specifies the type of flow trigger. This parameter is required. This can beOnDemand
,Scheduled
, orEvent
.- Returns:
this
-
triggerProperties
@Stability(Stable) public CfnFlow.TriggerConfigProperty.Builder triggerProperties(IResolvable triggerProperties) Sets the value ofCfnFlow.TriggerConfigProperty.getTriggerProperties()
- 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:
this
-
triggerProperties
@Stability(Stable) public CfnFlow.TriggerConfigProperty.Builder triggerProperties(CfnFlow.ScheduledTriggerPropertiesProperty triggerProperties) Sets the value ofCfnFlow.TriggerConfigProperty.getTriggerProperties()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.TriggerConfigProperty>
- Returns:
- a new instance of
CfnFlow.TriggerConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-