Class ResourceNotificationsResourceUpdatedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.ResourceNotificationsResourceUpdatedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceNotificationsResourceUpdatedEventData>
Direct Known Subclasses:
ResourceNotificationsContainerServiceEventResourcesScheduledEventData, ResourceNotificationsHealthResourcesAnnotatedEventData, ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData, ResourceNotificationsResourceManagementCreatedOrUpdatedEventData

public class ResourceNotificationsResourceUpdatedEventData extends Object implements com.azure.json.JsonSerializable<ResourceNotificationsResourceUpdatedEventData>
Describes the schema of the common properties across all ARN system topic events.
  • Constructor Details

    • ResourceNotificationsResourceUpdatedEventData

      protected ResourceNotificationsResourceUpdatedEventData(ResourceNotificationsResourceUpdatedDetails resourceDetails, ResourceNotificationsOperationalDetails operationalDetails, String apiVersion)
      Creates an instance of ResourceNotificationsResourceUpdatedEventData class.
      Parameters:
      resourceDetails - the resourceDetails value to set.
      operationalDetails - the operationalDetails value to set.
      apiVersion - the apiVersion value to set.
  • Method Details

    • getResourceDetails

      public ResourceNotificationsResourceUpdatedDetails getResourceDetails()
      Get the resourceDetails property: resourceInfo details for update event.
      Returns:
      the resourceDetails value.
    • getOperationalDetails

      public ResourceNotificationsOperationalDetails getOperationalDetails()
      Get the operationalDetails property: details about operational info.
      Returns:
      the operationalDetails value.
    • getApiVersion

      public String getApiVersion()
      Get the apiVersion property: api version of the resource properties bag.
      Returns:
      the apiVersion value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ResourceNotificationsResourceUpdatedEventData>
      Throws:
      IOException
    • fromJson

      public static ResourceNotificationsResourceUpdatedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ResourceNotificationsResourceUpdatedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ResourceNotificationsResourceUpdatedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ResourceNotificationsResourceUpdatedEventData.