public class SourceTriggerUpdateParameters extends Object
Constructor and Description |
---|
SourceTriggerUpdateParameters() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name of the trigger.
|
SourceUpdateParameters |
sourceRepository()
Get the properties that describes the source(code) for the task.
|
List<SourceTriggerEvent> |
sourceTriggerEvents()
Get the source event corresponding to the trigger.
|
TriggerStatus |
status()
Get the current status of trigger.
|
SourceTriggerUpdateParameters |
withName(String name)
Set the name of the trigger.
|
SourceTriggerUpdateParameters |
withSourceRepository(SourceUpdateParameters sourceRepository)
Set the properties that describes the source(code) for the task.
|
SourceTriggerUpdateParameters |
withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents)
Set the source event corresponding to the trigger.
|
SourceTriggerUpdateParameters |
withStatus(TriggerStatus status)
Set the current status of trigger.
|
public SourceUpdateParameters sourceRepository()
public SourceTriggerUpdateParameters withSourceRepository(SourceUpdateParameters sourceRepository)
sourceRepository
- the sourceRepository value to setpublic List<SourceTriggerEvent> sourceTriggerEvents()
public SourceTriggerUpdateParameters withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents)
sourceTriggerEvents
- the sourceTriggerEvents value to setpublic TriggerStatus status()
public SourceTriggerUpdateParameters withStatus(TriggerStatus status)
status
- the status value to setpublic String name()
public SourceTriggerUpdateParameters withName(String name)
name
- the name value to setCopyright © 2019. All rights reserved.