public class CustomEventsTrigger extends MultiplePipelineTrigger
| Constructor and Description |
|---|
CustomEventsTrigger() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
events()
Get the events property: The list of event types that cause this trigger to fire.
|
String |
scope()
Get the scope property: The ARM resource ID of the Azure Event Grid Topic.
|
String |
subjectBeginsWith()
Get the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire.
|
String |
subjectEndsWith()
Get the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire.
|
void |
validate()
Validates the instance.
|
CustomEventsTrigger |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.
|
CustomEventsTrigger |
withDescription(String description)
Set the description property: Trigger description.
|
CustomEventsTrigger |
withEvents(List<Object> events)
Set the events property: The list of event types that cause this trigger to fire.
|
CustomEventsTrigger |
withPipelines(List<TriggerPipelineReference> pipelines)
Set the pipelines property: Pipelines that need to be started.
|
CustomEventsTrigger |
withScope(String scope)
Set the scope property: The ARM resource ID of the Azure Event Grid Topic.
|
CustomEventsTrigger |
withSubjectBeginsWith(String subjectBeginsWith)
Set the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire.
|
CustomEventsTrigger |
withSubjectEndsWith(String subjectEndsWith)
Set the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire.
|
pipelinesadditionalProperties, annotations, description, runtimeState, withAdditionalPropertiespublic String subjectBeginsWith()
public CustomEventsTrigger withSubjectBeginsWith(String subjectBeginsWith)
subjectBeginsWith - the subjectBeginsWith value to set.public String subjectEndsWith()
public CustomEventsTrigger withSubjectEndsWith(String subjectEndsWith)
subjectEndsWith - the subjectEndsWith value to set.public List<Object> events()
public CustomEventsTrigger withEvents(List<Object> events)
events - the events value to set.public String scope()
public CustomEventsTrigger withScope(String scope)
scope - the scope value to set.public CustomEventsTrigger withPipelines(List<TriggerPipelineReference> pipelines)
withPipelines in class MultiplePipelineTriggerpipelines - the pipelines value to set.public CustomEventsTrigger withDescription(String description)
withDescription in class MultiplePipelineTriggerdescription - the description value to set.public CustomEventsTrigger withAnnotations(List<Object> annotations)
withAnnotations in class MultiplePipelineTriggerannotations - the annotations value to set.public void validate()
validate in class MultiplePipelineTriggerIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.