@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledTriggerProperties extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings
only apply to the Scheduled
trigger type.
Constructor and Description |
---|
ScheduledTriggerProperties() |
Modifier and Type | Method and Description |
---|---|
ScheduledTriggerProperties |
clone() |
boolean |
equals(Object obj) |
String |
getDataPullMode()
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow
run.
|
Date |
getFirstExecutionFrom()
Specifies the date range for the records to import from the connector in the first flow run.
|
Integer |
getFlowErrorDeactivationThreshold()
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
|
Date |
getScheduleEndTime()
The time at which the scheduled flow ends.
|
String |
getScheduleExpression()
The scheduling expression that determines the rate at which the schedule will run, for example
rate(5minutes) . |
Long |
getScheduleOffset()
Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
|
Date |
getScheduleStartTime()
The time at which the scheduled flow starts.
|
String |
getTimezone()
Specifies the time zone used when referring to the dates and times of a scheduled flow, such as
America/New_York . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataPullMode(String dataPullMode)
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow
run.
|
void |
setFirstExecutionFrom(Date firstExecutionFrom)
Specifies the date range for the records to import from the connector in the first flow run.
|
void |
setFlowErrorDeactivationThreshold(Integer flowErrorDeactivationThreshold)
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
|
void |
setScheduleEndTime(Date scheduleEndTime)
The time at which the scheduled flow ends.
|
void |
setScheduleExpression(String scheduleExpression)
The scheduling expression that determines the rate at which the schedule will run, for example
rate(5minutes) . |
void |
setScheduleOffset(Long scheduleOffset)
Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
|
void |
setScheduleStartTime(Date scheduleStartTime)
The time at which the scheduled flow starts.
|
void |
setTimezone(String timezone)
Specifies the time zone used when referring to the dates and times of a scheduled flow, such as
America/New_York . |
String |
toString()
Returns a string representation of this object.
|
ScheduledTriggerProperties |
withDataPullMode(DataPullMode dataPullMode)
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow
run.
|
ScheduledTriggerProperties |
withDataPullMode(String dataPullMode)
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow
run.
|
ScheduledTriggerProperties |
withFirstExecutionFrom(Date firstExecutionFrom)
Specifies the date range for the records to import from the connector in the first flow run.
|
ScheduledTriggerProperties |
withFlowErrorDeactivationThreshold(Integer flowErrorDeactivationThreshold)
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
|
ScheduledTriggerProperties |
withScheduleEndTime(Date scheduleEndTime)
The time at which the scheduled flow ends.
|
ScheduledTriggerProperties |
withScheduleExpression(String scheduleExpression)
The scheduling expression that determines the rate at which the schedule will run, for example
rate(5minutes) . |
ScheduledTriggerProperties |
withScheduleOffset(Long scheduleOffset)
Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
|
ScheduledTriggerProperties |
withScheduleStartTime(Date scheduleStartTime)
The time at which the scheduled flow starts.
|
ScheduledTriggerProperties |
withTimezone(String timezone)
Specifies the time zone used when referring to the dates and times of a scheduled flow, such as
America/New_York . |
public void setScheduleExpression(String scheduleExpression)
The scheduling expression that determines the rate at which the schedule will run, for example
rate(5minutes)
.
scheduleExpression
- The scheduling expression that determines the rate at which the schedule will run, for example
rate(5minutes)
.public String getScheduleExpression()
The scheduling expression that determines the rate at which the schedule will run, for example
rate(5minutes)
.
rate(5minutes)
.public ScheduledTriggerProperties withScheduleExpression(String scheduleExpression)
The scheduling expression that determines the rate at which the schedule will run, for example
rate(5minutes)
.
scheduleExpression
- The scheduling expression that determines the rate at which the schedule will run, for example
rate(5minutes)
.public void setDataPullMode(String dataPullMode)
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
dataPullMode
- Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each
flow run.DataPullMode
public String getDataPullMode()
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
DataPullMode
public ScheduledTriggerProperties withDataPullMode(String dataPullMode)
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
dataPullMode
- Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each
flow run.DataPullMode
public ScheduledTriggerProperties withDataPullMode(DataPullMode dataPullMode)
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
dataPullMode
- Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each
flow run.DataPullMode
public void setScheduleStartTime(Date scheduleStartTime)
The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO 8601
standard, such as 2022-04-26T13:00:00-07:00
.
scheduleStartTime
- The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO
8601 standard, such as 2022-04-26T13:00:00-07:00
.public Date getScheduleStartTime()
The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO 8601
standard, such as 2022-04-26T13:00:00-07:00
.
2022-04-26T13:00:00-07:00
.public ScheduledTriggerProperties withScheduleStartTime(Date scheduleStartTime)
The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO 8601
standard, such as 2022-04-26T13:00:00-07:00
.
scheduleStartTime
- The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO
8601 standard, such as 2022-04-26T13:00:00-07:00
.public void setScheduleEndTime(Date scheduleEndTime)
The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601
standard, such as 2022-04-27T13:00:00-07:00
.
scheduleEndTime
- The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601
standard, such as 2022-04-27T13:00:00-07:00
.public Date getScheduleEndTime()
The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601
standard, such as 2022-04-27T13:00:00-07:00
.
2022-04-27T13:00:00-07:00
.public ScheduledTriggerProperties withScheduleEndTime(Date scheduleEndTime)
The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601
standard, such as 2022-04-27T13:00:00-07:00
.
scheduleEndTime
- The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601
standard, such as 2022-04-27T13:00:00-07:00
.public void setTimezone(String timezone)
Specifies the time zone used when referring to the dates and times of a scheduled flow, such as
America/New_York
. This time zone is only a descriptive label. It doesn't affect how Amazon AppFlow
interprets the timestamps that you specify to schedule the flow.
If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC offset
in your timestamps. For example, the UTC offsets for the America/New_York
timezone are
-04:00
EDT and -05:00 EST
.
timezone
- Specifies the time zone used when referring to the dates and times of a scheduled flow, such as
America/New_York
. This time zone is only a descriptive label. It doesn't affect how Amazon
AppFlow interprets the timestamps that you specify to schedule the flow.
If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC
offset in your timestamps. For example, the UTC offsets for the America/New_York
timezone are
-04:00
EDT and -05:00 EST
.
public String getTimezone()
Specifies the time zone used when referring to the dates and times of a scheduled flow, such as
America/New_York
. This time zone is only a descriptive label. It doesn't affect how Amazon AppFlow
interprets the timestamps that you specify to schedule the flow.
If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC offset
in your timestamps. For example, the UTC offsets for the America/New_York
timezone are
-04:00
EDT and -05:00 EST
.
America/New_York
. This time zone is only a descriptive label. It doesn't affect how Amazon
AppFlow interprets the timestamps that you specify to schedule the flow.
If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC
offset in your timestamps. For example, the UTC offsets for the America/New_York
timezone
are -04:00
EDT and -05:00 EST
.
public ScheduledTriggerProperties withTimezone(String timezone)
Specifies the time zone used when referring to the dates and times of a scheduled flow, such as
America/New_York
. This time zone is only a descriptive label. It doesn't affect how Amazon AppFlow
interprets the timestamps that you specify to schedule the flow.
If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC offset
in your timestamps. For example, the UTC offsets for the America/New_York
timezone are
-04:00
EDT and -05:00 EST
.
timezone
- Specifies the time zone used when referring to the dates and times of a scheduled flow, such as
America/New_York
. This time zone is only a descriptive label. It doesn't affect how Amazon
AppFlow interprets the timestamps that you specify to schedule the flow.
If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC
offset in your timestamps. For example, the UTC offsets for the America/New_York
timezone are
-04:00
EDT and -05:00 EST
.
public void setScheduleOffset(Long scheduleOffset)
Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
scheduleOffset
- Specifies the optional offset that is added to the time interval for a schedule-triggered flow.public Long getScheduleOffset()
Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
public ScheduledTriggerProperties withScheduleOffset(Long scheduleOffset)
Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
scheduleOffset
- Specifies the optional offset that is added to the time interval for a schedule-triggered flow.public void setFirstExecutionFrom(Date firstExecutionFrom)
Specifies the date range for the records to import from the connector in the first flow run.
firstExecutionFrom
- Specifies the date range for the records to import from the connector in the first flow run.public Date getFirstExecutionFrom()
Specifies the date range for the records to import from the connector in the first flow run.
public ScheduledTriggerProperties withFirstExecutionFrom(Date firstExecutionFrom)
Specifies the date range for the records to import from the connector in the first flow run.
firstExecutionFrom
- Specifies the date range for the records to import from the connector in the first flow run.public void setFlowErrorDeactivationThreshold(Integer flowErrorDeactivationThreshold)
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
flowErrorDeactivationThreshold
- Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.public Integer getFlowErrorDeactivationThreshold()
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
public ScheduledTriggerProperties withFlowErrorDeactivationThreshold(Integer flowErrorDeactivationThreshold)
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
flowErrorDeactivationThreshold
- Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.public String toString()
toString
in class Object
Object.toString()
public ScheduledTriggerProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.