Class AppConfigurationKeyValueDeletedEventData
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.AppConfigurationKeyValueDeletedEventData
-
public class AppConfigurationKeyValueDeletedEventData extends Object
Schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueDeleted event.
-
-
Constructor Summary
Constructors Constructor Description AppConfigurationKeyValueDeletedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringetag()Get the etag representing the key-value that was deleted.Stringkey()Get the key used to identify the key-value that was deleted.Stringlabel()Get the label, if any, used to identify the key-value that was deleted.AppConfigurationKeyValueDeletedEventDatawithEtag(String etag)Set the etag representing the key-value that was deleted.AppConfigurationKeyValueDeletedEventDatawithKey(String key)Set the key used to identify the key-value that was deleted.AppConfigurationKeyValueDeletedEventDatawithLabel(String label)Set the label, if any, used to identify the key-value that was deleted.
-
-
-
Method Detail
-
key
public String key()
Get the key used to identify the key-value that was deleted.- Returns:
- the key value
-
withKey
public AppConfigurationKeyValueDeletedEventData withKey(String key)
Set the key used to identify the key-value that was deleted.- Parameters:
key- the key value to set- Returns:
- the AppConfigurationKeyValueDeletedEventData object itself.
-
label
public String label()
Get the label, if any, used to identify the key-value that was deleted.- Returns:
- the label value
-
withLabel
public AppConfigurationKeyValueDeletedEventData withLabel(String label)
Set the label, if any, used to identify the key-value that was deleted.- Parameters:
label- the label value to set- Returns:
- the AppConfigurationKeyValueDeletedEventData object itself.
-
etag
public String etag()
Get the etag representing the key-value that was deleted.- Returns:
- the etag value
-
withEtag
public AppConfigurationKeyValueDeletedEventData withEtag(String etag)
Set the etag representing the key-value that was deleted.- Parameters:
etag- the etag value to set- Returns:
- the AppConfigurationKeyValueDeletedEventData object itself.
-
-