Class EventTypeInfo
java.lang.Object
com.azure.resourcemanager.eventgrid.models.EventTypeInfo
The event type information for Channels.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the inlineEventTypes property: A collection of inline event types for the resource.kind()
Get the kind property: The kind of event type used.void
validate()
Validates the instance.withInlineEventTypes
(Map<String, InlineEventProperties> inlineEventTypes) Set the inlineEventTypes property: A collection of inline event types for the resource.withKind
(EventDefinitionKind kind) Set the kind property: The kind of event type used.
-
Constructor Details
-
EventTypeInfo
public EventTypeInfo()
-
-
Method Details
-
kind
Get the kind property: The kind of event type used.- Returns:
- the kind value.
-
withKind
Set the kind property: The kind of event type used.- Parameters:
kind
- the kind value to set.- Returns:
- the EventTypeInfo object itself.
-
inlineEventTypes
Get the inlineEventTypes property: A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.- Returns:
- the inlineEventTypes value.
-
withInlineEventTypes
Set the inlineEventTypes property: A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.- Parameters:
inlineEventTypes
- the inlineEventTypes value to set.- Returns:
- the EventTypeInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-