Class SourceTriggerUpdateParameters
java.lang.Object
com.microsoft.azure.management.containerregistry.SourceTriggerUpdateParameters
The properties for updating a source based trigger.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name of the trigger.Get the properties that describes the source(code) for the task.Get the source event corresponding to the trigger.status()
Get the current status of trigger.Set the name of the trigger.withSourceRepository
(SourceUpdateParameters sourceRepository) Set the properties that describes the source(code) for the task.withSourceTriggerEvents
(List<SourceTriggerEvent> sourceTriggerEvents) Set the source event corresponding to the trigger.withStatus
(TriggerStatus status) Set the current status of trigger.
-
Constructor Details
-
SourceTriggerUpdateParameters
public SourceTriggerUpdateParameters()
-
-
Method Details
-
sourceRepository
Get the properties that describes the source(code) for the task.- Returns:
- the sourceRepository value
-
withSourceRepository
Set the properties that describes the source(code) for the task.- Parameters:
sourceRepository
- the sourceRepository value to set- Returns:
- the SourceTriggerUpdateParameters object itself.
-
sourceTriggerEvents
Get the source event corresponding to the trigger.- Returns:
- the sourceTriggerEvents value
-
withSourceTriggerEvents
public SourceTriggerUpdateParameters withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents) Set the source event corresponding to the trigger.- Parameters:
sourceTriggerEvents
- the sourceTriggerEvents value to set- Returns:
- the SourceTriggerUpdateParameters object itself.
-
status
Get the current status of trigger. Possible values include: 'Disabled', 'Enabled'.- Returns:
- the status value
-
withStatus
Set the current status of trigger. Possible values include: 'Disabled', 'Enabled'.- Parameters:
status
- the status value to set- Returns:
- the SourceTriggerUpdateParameters object itself.
-
name
Get the name of the trigger.- Returns:
- the name value
-
withName
Set the name of the trigger.- Parameters:
name
- the name value to set- Returns:
- the SourceTriggerUpdateParameters object itself.
-