Class TimerTriggerDescriptor
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.TimerTriggerDescriptor
-
public final class TimerTriggerDescriptor extends Object
The TimerTriggerDescriptor model.
-
-
Constructor Summary
Constructors Constructor Description TimerTriggerDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringscheduleOccurrence()Get the scheduleOccurrence property: The occurrence that triggered the run.StringtimerTriggerName()Get the timerTriggerName property: The timer trigger name that caused the run.voidvalidate()Validates the instance.TimerTriggerDescriptorwithScheduleOccurrence(String scheduleOccurrence)Set the scheduleOccurrence property: The occurrence that triggered the run.TimerTriggerDescriptorwithTimerTriggerName(String timerTriggerName)Set the timerTriggerName property: The timer trigger name that caused the run.
-
-
-
Method Detail
-
timerTriggerName
public String timerTriggerName()
Get the timerTriggerName property: The timer trigger name that caused the run.- Returns:
- the timerTriggerName value.
-
withTimerTriggerName
public TimerTriggerDescriptor withTimerTriggerName(String timerTriggerName)
Set the timerTriggerName property: The timer trigger name that caused the run.- Parameters:
timerTriggerName- the timerTriggerName value to set.- Returns:
- the TimerTriggerDescriptor object itself.
-
scheduleOccurrence
public String scheduleOccurrence()
Get the scheduleOccurrence property: The occurrence that triggered the run.- Returns:
- the scheduleOccurrence value.
-
withScheduleOccurrence
public TimerTriggerDescriptor withScheduleOccurrence(String scheduleOccurrence)
Set the scheduleOccurrence property: The occurrence that triggered the run.- Parameters:
scheduleOccurrence- the scheduleOccurrence value to set.- Returns:
- the TimerTriggerDescriptor object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-