AppConfigurationKeyValueDeletedEventData Class

  • java.lang.Object
    • com.microsoft.azure.eventgrid.models.AppConfigurationKeyValueDeletedEventData

public class AppConfigurationKeyValueDeletedEventData

Schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueDeleted event.

Constructor Summary

Constructor Description
AppConfigurationKeyValueDeletedEventData()

Method Summary

Modifier and Type Method and Description
java.lang.String etag()

Get the etag representing the key-value that was deleted.

java.lang.String key()

Get the key used to identify the key-value that was deleted.

java.lang.String label()

Get the label, if any, used to identify the key-value that was deleted.

AppConfigurationKeyValueDeletedEventData withEtag(String etag)

Set the etag representing the key-value that was deleted.

AppConfigurationKeyValueDeletedEventData withKey(String key)

Set the key used to identify the key-value that was deleted.

AppConfigurationKeyValueDeletedEventData withLabel(String label)

Set the label, if any, used to identify the key-value that was deleted.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AppConfigurationKeyValueDeletedEventData

public AppConfigurationKeyValueDeletedEventData()

Method Details

etag

public String etag()

Get the etag representing the key-value that was deleted.

Returns:

the etag value

key

public String key()

Get the key used to identify the key-value that was deleted.

Returns:

the key value

label

public String label()

Get the label, if any, used to identify the key-value that was deleted.

Returns:

the label 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.

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.

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.

Applies to