Class CfnIntegration.ScheduledTriggerPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnIntegration.ScheduledTriggerPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIntegration.ScheduledTriggerPropertiesProperty>
- Enclosing interface:
CfnIntegration.ScheduledTriggerPropertiesProperty
@Stability(Stable)
public static final class CfnIntegration.ScheduledTriggerPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIntegration.ScheduledTriggerPropertiesProperty>
A builder for
CfnIntegration.ScheduledTriggerPropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataPullMode
(String dataPullMode) Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getDataPullMode()
firstExecutionFrom
(Number firstExecutionFrom) scheduleEndTime
(Number scheduleEndTime) Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getScheduleEndTime()
scheduleExpression
(String scheduleExpression) scheduleOffset
(Number scheduleOffset) Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getScheduleOffset()
scheduleStartTime
(Number scheduleStartTime) Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getScheduleStartTime()
Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getTimezone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scheduleExpression
@Stability(Stable) public CfnIntegration.ScheduledTriggerPropertiesProperty.Builder scheduleExpression(String scheduleExpression) - Parameters:
scheduleExpression
- The scheduling expression that determines the rate at which the schedule will run, for example rate (5 minutes). This parameter is required.- Returns:
this
-
dataPullMode
@Stability(Stable) public CfnIntegration.ScheduledTriggerPropertiesProperty.Builder dataPullMode(String dataPullMode) Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getDataPullMode()
- Parameters:
dataPullMode
- Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.- Returns:
this
-
firstExecutionFrom
@Stability(Stable) public CfnIntegration.ScheduledTriggerPropertiesProperty.Builder firstExecutionFrom(Number firstExecutionFrom) - Parameters:
firstExecutionFrom
- Specifies the date range for the records to import from the connector in the first flow run.- Returns:
this
-
scheduleEndTime
@Stability(Stable) public CfnIntegration.ScheduledTriggerPropertiesProperty.Builder scheduleEndTime(Number scheduleEndTime) Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getScheduleEndTime()
- Parameters:
scheduleEndTime
- Specifies the scheduled end time for a scheduled-trigger flow.- Returns:
this
-
scheduleOffset
@Stability(Stable) public CfnIntegration.ScheduledTriggerPropertiesProperty.Builder scheduleOffset(Number scheduleOffset) Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getScheduleOffset()
- Parameters:
scheduleOffset
- Specifies the optional offset that is added to the time interval for a schedule-triggered flow.- Returns:
this
-
scheduleStartTime
@Stability(Stable) public CfnIntegration.ScheduledTriggerPropertiesProperty.Builder scheduleStartTime(Number scheduleStartTime) Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getScheduleStartTime()
- Parameters:
scheduleStartTime
- Specifies the scheduled start time for a scheduled-trigger flow.- Returns:
this
-
timezone
@Stability(Stable) public CfnIntegration.ScheduledTriggerPropertiesProperty.Builder timezone(String timezone) Sets the value ofCfnIntegration.ScheduledTriggerPropertiesProperty.getTimezone()
- Parameters:
timezone
- Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIntegration.ScheduledTriggerPropertiesProperty>
- Returns:
- a new instance of
CfnIntegration.ScheduledTriggerPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-