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 Summary
ConstructorsModifierConstructorDescriptionprotectedResourceNotificationsResourceUpdatedEventData(ResourceNotificationsResourceUpdatedDetails resourceDetails, ResourceNotificationsOperationalDetails operationalDetails, String apiVersion) Creates an instance of ResourceNotificationsResourceUpdatedEventData class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourceNotificationsResourceUpdatedEventData from the JsonReader.Get the apiVersion property: api version of the resource properties bag.Get the operationalDetails property: details about operational info.Get the resourceDetails property: resourceInfo details for update event.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
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
Get the resourceDetails property: resourceInfo details for update event.- Returns:
- the resourceDetails value.
-
getOperationalDetails
Get the operationalDetails property: details about operational info.- Returns:
- the operationalDetails value.
-
getApiVersion
Get the apiVersion property: api version of the resource properties bag.- Returns:
- the apiVersion value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-