Class TumblingWindowTriggerTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.TumblingWindowTriggerTypeProperties
-
public final class TumblingWindowTriggerTypeProperties extends Object
Tumbling Window Trigger properties.
-
-
Constructor Summary
Constructors Constructor Description TumblingWindowTriggerTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
delay()
Get the delay property: Specifies how long the trigger waits past due time before triggering new run.List<DependencyReference>
dependsOn()
Get the dependsOn property: Triggers that this trigger depends on.OffsetDateTime
endTime()
Get the endTime property: The end time for the time period for the trigger during which events are fired for windows that are ready.TumblingWindowFrequency
frequency()
Get the frequency property: The frequency of the time windows.int
interval()
Get the interval property: The interval of the time windows.int
maxConcurrency()
Get the maxConcurrency property: The max number of parallel time windows (ready for execution) for which a new run is triggered.RetryPolicy
retryPolicy()
Get the retryPolicy property: Retry policy that will be applied for failed pipeline runs.OffsetDateTime
startTime()
Get the startTime property: The start time for the time period for the trigger during which events are fired for windows that are ready.void
validate()
Validates the instance.TumblingWindowTriggerTypeProperties
withDelay(Object delay)
Set the delay property: Specifies how long the trigger waits past due time before triggering new run.TumblingWindowTriggerTypeProperties
withDependsOn(List<DependencyReference> dependsOn)
Set the dependsOn property: Triggers that this trigger depends on.TumblingWindowTriggerTypeProperties
withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time for the time period for the trigger during which events are fired for windows that are ready.TumblingWindowTriggerTypeProperties
withFrequency(TumblingWindowFrequency frequency)
Set the frequency property: The frequency of the time windows.TumblingWindowTriggerTypeProperties
withInterval(int interval)
Set the interval property: The interval of the time windows.TumblingWindowTriggerTypeProperties
withMaxConcurrency(int maxConcurrency)
Set the maxConcurrency property: The max number of parallel time windows (ready for execution) for which a new run is triggered.TumblingWindowTriggerTypeProperties
withRetryPolicy(RetryPolicy retryPolicy)
Set the retryPolicy property: Retry policy that will be applied for failed pipeline runs.TumblingWindowTriggerTypeProperties
withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time for the time period for the trigger during which events are fired for windows that are ready.
-
-
-
Method Detail
-
frequency
public TumblingWindowFrequency frequency()
Get the frequency property: The frequency of the time windows.- Returns:
- the frequency value.
-
withFrequency
public TumblingWindowTriggerTypeProperties withFrequency(TumblingWindowFrequency frequency)
Set the frequency property: The frequency of the time windows.- Parameters:
frequency
- the frequency value to set.- Returns:
- the TumblingWindowTriggerTypeProperties object itself.
-
interval
public int interval()
Get the interval property: The interval of the time windows. The minimum interval allowed is 15 Minutes.- Returns:
- the interval value.
-
withInterval
public TumblingWindowTriggerTypeProperties withInterval(int interval)
Set the interval property: The interval of the time windows. The minimum interval allowed is 15 Minutes.- Parameters:
interval
- the interval value to set.- Returns:
- the TumblingWindowTriggerTypeProperties object itself.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported.- Returns:
- the startTime value.
-
withStartTime
public TumblingWindowTriggerTypeProperties withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported.- Parameters:
startTime
- the startTime value to set.- Returns:
- the TumblingWindowTriggerTypeProperties object itself.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported.- Returns:
- the endTime value.
-
withEndTime
public TumblingWindowTriggerTypeProperties withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported.- Parameters:
endTime
- the endTime value to set.- Returns:
- the TumblingWindowTriggerTypeProperties object itself.
-
delay
public Object delay()
Get the delay property: Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).- Returns:
- the delay value.
-
withDelay
public TumblingWindowTriggerTypeProperties withDelay(Object delay)
Set the delay property: Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).- Parameters:
delay
- the delay value to set.- Returns:
- the TumblingWindowTriggerTypeProperties object itself.
-
maxConcurrency
public int maxConcurrency()
Get the maxConcurrency property: The max number of parallel time windows (ready for execution) for which a new run is triggered.- Returns:
- the maxConcurrency value.
-
withMaxConcurrency
public TumblingWindowTriggerTypeProperties withMaxConcurrency(int maxConcurrency)
Set the maxConcurrency property: The max number of parallel time windows (ready for execution) for which a new run is triggered.- Parameters:
maxConcurrency
- the maxConcurrency value to set.- Returns:
- the TumblingWindowTriggerTypeProperties object itself.
-
retryPolicy
public RetryPolicy retryPolicy()
Get the retryPolicy property: Retry policy that will be applied for failed pipeline runs.- Returns:
- the retryPolicy value.
-
withRetryPolicy
public TumblingWindowTriggerTypeProperties withRetryPolicy(RetryPolicy retryPolicy)
Set the retryPolicy property: Retry policy that will be applied for failed pipeline runs.- Parameters:
retryPolicy
- the retryPolicy value to set.- Returns:
- the TumblingWindowTriggerTypeProperties object itself.
-
dependsOn
public List<DependencyReference> dependsOn()
Get the dependsOn property: Triggers that this trigger depends on. Only tumbling window triggers are supported.- Returns:
- the dependsOn value.
-
withDependsOn
public TumblingWindowTriggerTypeProperties withDependsOn(List<DependencyReference> dependsOn)
Set the dependsOn property: Triggers that this trigger depends on. Only tumbling window triggers are supported.- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the TumblingWindowTriggerTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-