public final class CustomEventsTriggerTypeProperties extends Object
| Constructor and Description |
|---|
CustomEventsTriggerTypeProperties() |
| 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.
|
CustomEventsTriggerTypeProperties |
withEvents(List<Object> events)
Set the events property: The list of event types that cause this trigger to fire.
|
CustomEventsTriggerTypeProperties |
withScope(String scope)
Set the scope property: The ARM resource ID of the Azure Event Grid Topic.
|
CustomEventsTriggerTypeProperties |
withSubjectBeginsWith(String subjectBeginsWith)
Set the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire.
|
CustomEventsTriggerTypeProperties |
withSubjectEndsWith(String subjectEndsWith)
Set the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire.
|
public String subjectBeginsWith()
public CustomEventsTriggerTypeProperties withSubjectBeginsWith(String subjectBeginsWith)
subjectBeginsWith - the subjectBeginsWith value to set.public String subjectEndsWith()
public CustomEventsTriggerTypeProperties withSubjectEndsWith(String subjectEndsWith)
subjectEndsWith - the subjectEndsWith value to set.public List<Object> events()
public CustomEventsTriggerTypeProperties withEvents(List<Object> events)
events - the events value to set.public String scope()
public CustomEventsTriggerTypeProperties withScope(String scope)
scope - the scope value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.