Class TriggerProperties
java.lang.Object
com.azure.resourcemanager.containerregistry.models.TriggerProperties
The properties of a trigger.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the baseImageTrigger property: The trigger based on base image dependencies.Get the sourceTriggers property: The collection of triggers based on source code repository.Get the timerTriggers property: The collection of timer triggers.voidvalidate()Validates the instance.withBaseImageTrigger(BaseImageTrigger baseImageTrigger) Set the baseImageTrigger property: The trigger based on base image dependencies.withSourceTriggers(List<SourceTrigger> sourceTriggers) Set the sourceTriggers property: The collection of triggers based on source code repository.withTimerTriggers(List<TimerTrigger> timerTriggers) Set the timerTriggers property: The collection of timer triggers.
-
Constructor Details
-
TriggerProperties
public TriggerProperties()Creates an instance of TriggerProperties class.
-
-
Method Details
-
timerTriggers
Get the timerTriggers property: The collection of timer triggers.- Returns:
- the timerTriggers value.
-
withTimerTriggers
Set the timerTriggers property: The collection of timer triggers.- Parameters:
timerTriggers- the timerTriggers value to set.- Returns:
- the TriggerProperties object itself.
-
sourceTriggers
Get the sourceTriggers property: The collection of triggers based on source code repository.- Returns:
- the sourceTriggers value.
-
withSourceTriggers
Set the sourceTriggers property: The collection of triggers based on source code repository.- Parameters:
sourceTriggers- the sourceTriggers value to set.- Returns:
- the TriggerProperties object itself.
-
baseImageTrigger
Get the baseImageTrigger property: The trigger based on base image dependencies.- Returns:
- the baseImageTrigger value.
-
withBaseImageTrigger
Set the baseImageTrigger property: The trigger based on base image dependencies.- Parameters:
baseImageTrigger- the baseImageTrigger value to set.- Returns:
- the TriggerProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-