Class EventTypeInfo

java.lang.Object
com.azure.resourcemanager.eventgrid.models.EventTypeInfo

public final class EventTypeInfo extends Object
The event type information for Channels.
  • Constructor Details

    • EventTypeInfo

      public EventTypeInfo()
  • Method Details

    • kind

      public EventDefinitionKind kind()
      Get the kind property: The kind of event type used.
      Returns:
      the kind value.
    • withKind

      public EventTypeInfo withKind(EventDefinitionKind kind)
      Set the kind property: The kind of event type used.
      Parameters:
      kind - the kind value to set.
      Returns:
      the EventTypeInfo object itself.
    • inlineEventTypes

      public Map<String,InlineEventProperties> 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

      public EventTypeInfo withInlineEventTypes(Map<String,InlineEventProperties> inlineEventTypes)
      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.