Class ScheduleTrigger
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Trigger
-
- com.azure.resourcemanager.datafactory.models.MultiplePipelineTrigger
-
- com.azure.resourcemanager.datafactory.models.ScheduleTrigger
-
public final class ScheduleTrigger extends MultiplePipelineTrigger
Trigger that creates pipeline runs periodically, on schedule.
-
-
Constructor Summary
Constructors Constructor Description ScheduleTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleTriggerRecurrencerecurrence()Get the recurrence property: Recurrence schedule configuration.voidvalidate()Validates the instance.ScheduleTriggerwithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the trigger.ScheduleTriggerwithDescription(String description)Set the description property: Trigger description.ScheduleTriggerwithPipelines(List<TriggerPipelineReference> pipelines)Set the pipelines property: Pipelines that need to be started.ScheduleTriggerwithRecurrence(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
-
-
-
-
Method Detail
-
withPipelines
public ScheduleTrigger withPipelines(List<TriggerPipelineReference> pipelines)
Set the pipelines property: Pipelines that need to be started.- Overrides:
withPipelinesin classMultiplePipelineTrigger- Parameters:
pipelines- the pipelines value to set.- Returns:
- the MultiplePipelineTrigger object itself.
-
withDescription
public ScheduleTrigger withDescription(String description)
Set the description property: Trigger description.- Overrides:
withDescriptionin classMultiplePipelineTrigger- Parameters:
description- the description value to set.- Returns:
- the Trigger object itself.
-
withAnnotations
public ScheduleTrigger withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.- Overrides:
withAnnotationsin classMultiplePipelineTrigger- Parameters:
annotations- the annotations value to set.- Returns:
- the Trigger object itself.
-
recurrence
public ScheduleTriggerRecurrence recurrence()
Get the recurrence property: Recurrence schedule configuration.- Returns:
- the recurrence value.
-
withRecurrence
public ScheduleTrigger withRecurrence(ScheduleTriggerRecurrence recurrence)
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:
validatein classMultiplePipelineTrigger- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-