Class AppConfigurationKeyValueModifiedEventData
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.AppConfigurationKeyValueModifiedEventData
-
public class AppConfigurationKeyValueModifiedEventData extends Object
Schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueModified event.
-
-
Constructor Summary
Constructors Constructor Description AppConfigurationKeyValueModifiedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringetag()Get the etag representing the new state of the key-value.Stringkey()Get the key used to identify the key-value that was modified.Stringlabel()Get the label, if any, used to identify the key-value that was modified.AppConfigurationKeyValueModifiedEventDatawithEtag(String etag)Set the etag representing the new state of the key-value.AppConfigurationKeyValueModifiedEventDatawithKey(String key)Set the key used to identify the key-value that was modified.AppConfigurationKeyValueModifiedEventDatawithLabel(String label)Set the label, if any, used to identify the key-value that was modified.
-
-
-
Method Detail
-
key
public String key()
Get the key used to identify the key-value that was modified.- Returns:
- the key value
-
withKey
public AppConfigurationKeyValueModifiedEventData withKey(String key)
Set the key used to identify the key-value that was modified.- Parameters:
key- the key value to set- Returns:
- the AppConfigurationKeyValueModifiedEventData object itself.
-
label
public String label()
Get the label, if any, used to identify the key-value that was modified.- Returns:
- the label value
-
withLabel
public AppConfigurationKeyValueModifiedEventData withLabel(String label)
Set 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.
-
etag
public String etag()
Get the etag representing the new state of the key-value.- Returns:
- the etag value
-
withEtag
public AppConfigurationKeyValueModifiedEventData withEtag(String etag)
Set the etag representing the new state of the key-value.- Parameters:
etag- the etag value to set- Returns:
- the AppConfigurationKeyValueModifiedEventData object itself.
-
-