Class AppConfigurationKeyValueModifiedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AppConfigurationKeyValueModifiedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.KeyValueModified event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AppConfigurationKeyValueModifiedEventData class. -
Method Summary
Modifier and TypeMethodDescriptiongetEtag()Get the etag property: The etag representing the new state of the key-value.getKey()Get the key property: The key used to identify the key-value that was modified.getLabel()Get the label property: The label, if any, used to identify the key-value that was modified.Get the syncToken property: The sync token representing the server state after the event.Set the etag property: The etag representing the new state of the key-value.Set the key property: The key used to identify the key-value that was modified.Set the label property: The label, if any, used to identify the key-value that was modified.setSyncToken(String syncToken) Set the syncToken property: The sync token representing the server state after the event.
-
Constructor Details
-
AppConfigurationKeyValueModifiedEventData
public AppConfigurationKeyValueModifiedEventData()Creates an instance of AppConfigurationKeyValueModifiedEventData class.
-
-
Method Details
-
getKey
Get the key property: The key used to identify the key-value that was modified.- Returns:
- the key value.
-
setKey
Set the key property: The key used to identify the key-value that was modified.- Parameters:
key- the key value to set.- Returns:
- the AppConfigurationKeyValueModifiedEventData object itself.
-
getLabel
Get the label property: The label, if any, used to identify the key-value that was modified.- Returns:
- the label value.
-
setLabel
Set the label property: The label, if any, used to identify the key-value that was modified.- Parameters:
label- the label value to set.- Returns:
- the AppConfigurationKeyValueModifiedEventData object itself.
-
getEtag
Get the etag property: The etag representing the new state of the key-value.- Returns:
- the etag value.
-
setEtag
Set the etag property: The etag representing the new state of the key-value.- Parameters:
etag- the etag value to set.- Returns:
- the AppConfigurationKeyValueModifiedEventData object itself.
-
getSyncToken
Get the syncToken property: The sync token representing the server state after the event.- Returns:
- the syncToken value.
-
setSyncToken
Set the syncToken property: The sync token representing the server state after the event.- Parameters:
syncToken- the syncToken value to set.- Returns:
- the AppConfigurationKeyValueModifiedEventData object itself.
-