Class EventTypeProperties

java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.EventTypeProperties

public final class EventTypeProperties extends Object
Properties of the event type.
  • Constructor Details

    • EventTypeProperties

      public EventTypeProperties()
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: Display name of the event type.
      Returns:
      the displayName value.
    • withDisplayName

      public EventTypeProperties withDisplayName(String displayName)
      Set the displayName property: Display name of the event type.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the EventTypeProperties object itself.
    • description

      public String description()
      Get the description property: Description of the event type.
      Returns:
      the description value.
    • withDescription

      public EventTypeProperties withDescription(String description)
      Set the description property: Description of the event type.
      Parameters:
      description - the description value to set.
      Returns:
      the EventTypeProperties object itself.
    • schemaUrl

      public String schemaUrl()
      Get the schemaUrl property: Url of the schema for this event type.
      Returns:
      the schemaUrl value.
    • withSchemaUrl

      public EventTypeProperties withSchemaUrl(String schemaUrl)
      Set the schemaUrl property: Url of the schema for this event type.
      Parameters:
      schemaUrl - the schemaUrl value to set.
      Returns:
      the EventTypeProperties object itself.
    • isInDefaultSet

      public Boolean isInDefaultSet()
      Get the isInDefaultSet property: IsInDefaultSet flag of the event type.
      Returns:
      the isInDefaultSet value.
    • withIsInDefaultSet

      public EventTypeProperties withIsInDefaultSet(Boolean isInDefaultSet)
      Set the isInDefaultSet property: IsInDefaultSet flag of the event type.
      Parameters:
      isInDefaultSet - the isInDefaultSet value to set.
      Returns:
      the EventTypeProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.