Class EventTypeInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.eventgrid.fluent.models.EventTypeInner
public final class EventTypeInner
extends com.azure.core.management.ProxyResource
Event Type for a subject under a topic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the event type.Get the displayName property: Display name of the event type.Get the isInDefaultSet property: IsInDefaultSet flag of the event type.Get the schemaUrl property: Url of the schema for this event type.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the event type.withDisplayName
(String displayName) Set the displayName property: Display name of the event type.withIsInDefaultSet
(Boolean isInDefaultSet) Set the isInDefaultSet property: IsInDefaultSet flag of the event type.withSchemaUrl
(String schemaUrl) Set the schemaUrl property: Url of the schema for this event type.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
EventTypeInner
public EventTypeInner()
-
-
Method Details
-
displayName
Get the displayName property: Display name of the event type.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the event type.- Parameters:
displayName
- the displayName value to set.- Returns:
- the EventTypeInner object itself.
-
description
Get the description property: Description of the event type.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the event type.- Parameters:
description
- the description value to set.- Returns:
- the EventTypeInner object itself.
-
schemaUrl
Get the schemaUrl property: Url of the schema for this event type.- Returns:
- the schemaUrl value.
-
withSchemaUrl
Set the schemaUrl property: Url of the schema for this event type.- Parameters:
schemaUrl
- the schemaUrl value to set.- Returns:
- the EventTypeInner object itself.
-
isInDefaultSet
Get the isInDefaultSet property: IsInDefaultSet flag of the event type.- Returns:
- the isInDefaultSet value.
-
withIsInDefaultSet
Set the isInDefaultSet property: IsInDefaultSet flag of the event type.- Parameters:
isInDefaultSet
- the isInDefaultSet value to set.- Returns:
- the EventTypeInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-