EventSubscriptionFilter Class
- java.
lang. Object - com.
microsoft. azure. management. eventgrid. v2020_04_01_preview. EventSubscriptionFilter
- com.
public class EventSubscriptionFilter
Filter for the Event Subscription.
Constructor Summary
Constructor | Description | |
---|---|---|
EventSubscriptionFilter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Advanced |
advancedFilters()
Get an array of advanced filters that are used for filtering event subscriptions. |
java.util.List<java.lang.String> |
includedEventTypes()
Get a list of applicable event types that need to be part of the event subscription. |
java.lang.Boolean |
isSubjectCaseSensitive()
Get specifies if the Subject |
java.lang.String |
subjectBeginsWith()
Get an optional string to filter events for an event subscription based on a resource path prefix. |
java.lang.String |
subjectEndsWith()
Get an optional string to filter events for an event subscription based on a resource path suffix. |
Event |
withAdvancedFilters(List<AdvancedFilter> advancedFilters)
Set an array of advanced filters that are used for filtering event subscriptions. |
Event |
withIncludedEventTypes(List<String> includedEventTypes)
Set a list of applicable event types that need to be part of the event subscription. |
Event |
withIsSubjectCaseSensitive(Boolean isSubjectCaseSensitive)
Set specifies if the Subject |
Event |
withSubjectBeginsWith(String subjectBeginsWith)
Set an optional string to filter events for an event subscription based on a resource path prefix. |
Event |
withSubjectEndsWith(String subjectEndsWith)
Set an optional string to filter events for an event subscription based on a resource path suffix. |
Methods inherited from java.lang.Object
Constructor Details
EventSubscriptionFilter
public EventSubscriptionFilter()
Method Details
advancedFilters
public List
Get an array of advanced filters that are used for filtering event subscriptions.
Returns:
includedEventTypes
public List
Get a list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
Returns:
isSubjectCaseSensitive
public Boolean isSubjectCaseSensitive()
Get specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
Returns:
subjectBeginsWith
public String subjectBeginsWith()
Get an optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
Returns:
subjectEndsWith
public String subjectEndsWith()
Get an optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
Returns:
withAdvancedFilters
public EventSubscriptionFilter withAdvancedFilters(List
Set an array of advanced filters that are used for filtering event subscriptions.
Parameters:
Returns:
withIncludedEventTypes
public EventSubscriptionFilter withIncludedEventTypes(List
Set a list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
Parameters:
Returns:
withIsSubjectCaseSensitive
public EventSubscriptionFilter withIsSubjectCaseSensitive(Boolean isSubjectCaseSensitive)
Set specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
Parameters:
Returns:
withSubjectBeginsWith
public EventSubscriptionFilter withSubjectBeginsWith(String subjectBeginsWith)
Set an optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
Parameters:
Returns:
withSubjectEndsWith
public EventSubscriptionFilter withSubjectEndsWith(String subjectEndsWith)
Set an optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for