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 ScheduleTriggerRecurrence
recurrence()
Get the recurrence property: Recurrence schedule configuration.void
validate()
Validates the instance.ScheduleTrigger
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.ScheduleTrigger
withDescription(String description)
Set the description property: Trigger description.ScheduleTrigger
withPipelines(List<TriggerPipelineReference> pipelines)
Set the pipelines property: Pipelines that need to be started.ScheduleTrigger
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
-
-
-
-
Method Detail
-
withPipelines
public ScheduleTrigger withPipelines(List<TriggerPipelineReference> pipelines)
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
public ScheduleTrigger withDescription(String description)
Set the description property: Trigger description.- Overrides:
withDescription
in 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:
withAnnotations
in 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:
validate
in classMultiplePipelineTrigger
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-