EventTypeInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. eventgrid. fluent. models. EventTypeInner
- com.
- com.
public final class EventTypeInner
extends ProxyResource
Event Type for a subject under a topic.
Constructor Summary
| Constructor | Description |
|---|---|
| EventTypeInner() |
Creates an instance of Event |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Description of the event type. |
| String |
displayName()
Get the display |
|
static
Event |
fromJson(JsonReader jsonReader)
Reads an instance of Event |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Boolean |
isInDefaultSet()
Get the is |
| String |
name()
Get the name property: The name of the resource. |
| String |
schemaUrl()
Get the schema |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Event |
withDescription(String description)
Set the description property: Description of the event type. |
|
Event |
withDisplayName(String displayName)
Set the display |
|
Event |
withIsInDefaultSet(Boolean isInDefaultSet)
Set the is |
|
Event |
withSchemaUrl(String schemaUrl)
Set the schema |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
EventTypeInner
public EventTypeInner()
Creates an instance of EventTypeInner class.
Method Details
description
public String description()
Get the description property: Description of the event type.
Returns:
displayName
public String displayName()
Get the displayName property: Display name of the event type.
Returns:
fromJson
public static EventTypeInner fromJson(JsonReader jsonReader)
Reads an instance of EventTypeInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
EventTypeInner.id()Returns:
isInDefaultSet
public Boolean isInDefaultSet()
Get the isInDefaultSet property: IsInDefaultSet flag of the event type.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
EventTypeInner.name()Returns:
schemaUrl
public String schemaUrl()
Get the schemaUrl property: URL of the schema for this event type.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
EventTypeInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
EventTypeInner.type()Returns:
validate
public void validate()
Validates the instance.
withDescription
public EventTypeInner withDescription(String description)
Set the description property: Description of the event type.
Parameters:
Returns:
withDisplayName
public EventTypeInner withDisplayName(String displayName)
Set the displayName property: Display name of the event type.
Parameters:
Returns:
withIsInDefaultSet
public EventTypeInner withIsInDefaultSet(Boolean isInDefaultSet)
Set the isInDefaultSet property: IsInDefaultSet flag of the event type.
Parameters:
Returns:
withSchemaUrl
public EventTypeInner withSchemaUrl(String schemaUrl)
Set the schemaUrl property: URL of the schema for this event type.
Parameters:
Returns: