EventTypeInfo Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. EventTypeInfo
- com.
Implements
public final class EventTypeInfo
implements JsonSerializable<EventTypeInfo>
The event type information for Channels.
Constructor Summary
| Constructor | Description |
|---|---|
| EventTypeInfo() |
Creates an instance of Event |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Event |
fromJson(JsonReader jsonReader)
Reads an instance of Event |
|
Map<String,Inline |
inlineEventTypes()
Get the inline |
|
Event |
kind()
Get the kind property: The kind of event type used. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Event |
withInlineEventTypes(Map<String,InlineEventProperties> inlineEventTypes)
Set the inline |
|
Event |
withKind(EventDefinitionKind kind)
Set the kind property: The kind of event type used. |
Methods inherited from java.lang.Object
Constructor Details
EventTypeInfo
public EventTypeInfo()
Creates an instance of EventTypeInfo class.
Method Details
fromJson
public static EventTypeInfo fromJson(JsonReader jsonReader)
Reads an instance of EventTypeInfo from the JsonReader.
Parameters:
Returns:
Throws:
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:
kind
public EventDefinitionKind kind()
Get the kind property: The kind of event type used.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withKind
public EventTypeInfo withKind(EventDefinitionKind kind)
Set the kind property: The kind of event type used.
Parameters:
Returns: