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