public final class TumblingWindowTrigger extends Trigger
| Constructor and Description |
|---|
TumblingWindowTrigger() |
| Modifier and Type | Method and 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.
|
TriggerPipelineReference |
pipeline()
Get the pipeline property: Pipeline for which runs are created when an event is fired for trigger window that is
ready.
|
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.
|
TumblingWindowTrigger |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.
|
TumblingWindowTrigger |
withDelay(Object delay)
Set the delay property: Specifies how long the trigger waits past due time before triggering new run.
|
TumblingWindowTrigger |
withDependsOn(List<DependencyReference> dependsOn)
Set the dependsOn property: Triggers that this trigger depends on.
|
TumblingWindowTrigger |
withDescription(String description)
Set the description property: Trigger description.
|
TumblingWindowTrigger |
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.
|
TumblingWindowTrigger |
withFrequency(TumblingWindowFrequency frequency)
Set the frequency property: The frequency of the time windows.
|
TumblingWindowTrigger |
withInterval(int interval)
Set the interval property: The interval of the time windows.
|
TumblingWindowTrigger |
withMaxConcurrency(int maxConcurrency)
Set the maxConcurrency property: The max number of parallel time windows (ready for execution) for which a new
run is triggered.
|
TumblingWindowTrigger |
withPipeline(TriggerPipelineReference pipeline)
Set the pipeline property: Pipeline for which runs are created when an event is fired for trigger window that is
ready.
|
TumblingWindowTrigger |
withRetryPolicy(RetryPolicy retryPolicy)
Set the retryPolicy property: Retry policy that will be applied for failed pipeline runs.
|
TumblingWindowTrigger |
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.
|
additionalProperties, annotations, description, runtimeState, withAdditionalPropertiespublic TriggerPipelineReference pipeline()
public TumblingWindowTrigger withPipeline(TriggerPipelineReference pipeline)
pipeline - the pipeline value to set.public TumblingWindowTrigger withDescription(String description)
withDescription in class Triggerdescription - the description value to set.public TumblingWindowTrigger withAnnotations(List<Object> annotations)
withAnnotations in class Triggerannotations - the annotations value to set.public TumblingWindowFrequency frequency()
public TumblingWindowTrigger withFrequency(TumblingWindowFrequency frequency)
frequency - the frequency value to set.public int interval()
public TumblingWindowTrigger withInterval(int interval)
interval - the interval value to set.public OffsetDateTime startTime()
public TumblingWindowTrigger withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public TumblingWindowTrigger withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public Object delay()
public TumblingWindowTrigger withDelay(Object delay)
delay - the delay value to set.public int maxConcurrency()
public TumblingWindowTrigger withMaxConcurrency(int maxConcurrency)
maxConcurrency - the maxConcurrency value to set.public RetryPolicy retryPolicy()
public TumblingWindowTrigger withRetryPolicy(RetryPolicy retryPolicy)
retryPolicy - the retryPolicy value to set.public List<DependencyReference> dependsOn()
public TumblingWindowTrigger withDependsOn(List<DependencyReference> dependsOn)
dependsOn - the dependsOn value to set.public void validate()
validate in class TriggerIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.