Class ScheduleTrigger
java.lang.Object
com.azure.resourcemanager.datafactory.models.Trigger
com.azure.resourcemanager.datafactory.models.MultiplePipelineTrigger
com.azure.resourcemanager.datafactory.models.ScheduleTrigger
Trigger that creates pipeline runs periodically, on schedule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the recurrence property: Recurrence schedule configuration.void
validate()
Validates the instance.withAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the trigger.withDescription
(String description) Set the description property: Trigger description.withPipelines
(List<TriggerPipelineReference> pipelines) Set the pipelines property: Pipelines that need to be started.withRecurrence
(ScheduleTriggerRecurrence recurrence) Set the recurrence property: Recurrence schedule configuration.Methods inherited from class com.azure.resourcemanager.datafactory.models.MultiplePipelineTrigger
pipelines
Methods inherited from class com.azure.resourcemanager.datafactory.models.Trigger
additionalProperties, annotations, description, runtimeState, withAdditionalProperties
-
Constructor Details
-
ScheduleTrigger
public ScheduleTrigger()Creates an instance of ScheduleTrigger class.
-
-
Method Details
-
withPipelines
Set the pipelines property: Pipelines that need to be started.- Overrides:
withPipelines
in classMultiplePipelineTrigger
- Parameters:
pipelines
- the pipelines value to set.- Returns:
- the MultiplePipelineTrigger object itself.
-
withDescription
Set the description property: Trigger description.- Overrides:
withDescription
in classMultiplePipelineTrigger
- Parameters:
description
- the description value to set.- Returns:
- the Trigger object itself.
-
withAnnotations
Set the annotations property: List of tags that can be used for describing the trigger.- Overrides:
withAnnotations
in classMultiplePipelineTrigger
- Parameters:
annotations
- the annotations value to set.- Returns:
- the Trigger object itself.
-
recurrence
Get the recurrence property: Recurrence schedule configuration.- Returns:
- the recurrence value.
-
withRecurrence
Set the recurrence property: Recurrence schedule configuration.- Parameters:
recurrence
- the recurrence value to set.- Returns:
- the ScheduleTrigger object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classMultiplePipelineTrigger
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-