Class CustomEventsTriggerTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.CustomEventsTriggerTypeProperties
-
public final class CustomEventsTriggerTypeProperties extends Object
Custom Events Trigger properties.
-
-
Constructor Summary
Constructors Constructor Description CustomEventsTriggerTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>events()Get the events property: The list of event types that cause this trigger to fire.Stringscope()Get the scope property: The ARM resource ID of the Azure Event Grid Topic.StringsubjectBeginsWith()Get the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire.StringsubjectEndsWith()Get the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire.voidvalidate()Validates the instance.CustomEventsTriggerTypePropertieswithEvents(List<Object> events)Set the events property: The list of event types that cause this trigger to fire.CustomEventsTriggerTypePropertieswithScope(String scope)Set the scope property: The ARM resource ID of the Azure Event Grid Topic.CustomEventsTriggerTypePropertieswithSubjectBeginsWith(String subjectBeginsWith)Set the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire.CustomEventsTriggerTypePropertieswithSubjectEndsWith(String subjectEndsWith)Set the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire.
-
-
-
Method Detail
-
subjectBeginsWith
public String subjectBeginsWith()
Get the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.- Returns:
- the subjectBeginsWith value.
-
withSubjectBeginsWith
public CustomEventsTriggerTypeProperties withSubjectBeginsWith(String subjectBeginsWith)
Set the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.- Parameters:
subjectBeginsWith- the subjectBeginsWith value to set.- Returns:
- the CustomEventsTriggerTypeProperties object itself.
-
subjectEndsWith
public String subjectEndsWith()
Get the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.- Returns:
- the subjectEndsWith value.
-
withSubjectEndsWith
public CustomEventsTriggerTypeProperties withSubjectEndsWith(String subjectEndsWith)
Set the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.- Parameters:
subjectEndsWith- the subjectEndsWith value to set.- Returns:
- the CustomEventsTriggerTypeProperties object itself.
-
events
public List<Object> events()
Get the events property: The list of event types that cause this trigger to fire.- Returns:
- the events value.
-
withEvents
public CustomEventsTriggerTypeProperties withEvents(List<Object> events)
Set the events property: The list of event types that cause this trigger to fire.- Parameters:
events- the events value to set.- Returns:
- the CustomEventsTriggerTypeProperties object itself.
-
scope
public String scope()
Get the scope property: The ARM resource ID of the Azure Event Grid Topic.- Returns:
- the scope value.
-
withScope
public CustomEventsTriggerTypeProperties withScope(String scope)
Set the scope property: The ARM resource ID of the Azure Event Grid Topic.- Parameters:
scope- the scope value to set.- Returns:
- the CustomEventsTriggerTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-