public class SourceTriggerUpdateParameters extends Object
| Constructor | Description |
|---|---|
SourceTriggerUpdateParameters() |
| Modifier and Type | Method | 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 set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/