Lezen in het Engels

Delen via


ResourceNotificationsResourceDeletedDetails Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.ResourceNotificationsResourceDeletedDetails

Implements

public final class ResourceNotificationsResourceDeletedDetails
implements JsonSerializable<ResourceNotificationsResourceDeletedDetails>

Describes the schema of the properties under resource info which are common across all ARN system topic delete events.

Constructor Summary

Constructor Description
ResourceNotificationsResourceDeletedDetails()

Creates an instance of ResourceNotificationsResourceDeletedDetails class.

Method Summary

Modifier and Type Method and Description
static ResourceNotificationsResourceDeletedDetails fromJson(JsonReader jsonReader)

Reads an instance of ResourceNotificationsResourceDeletedDetails from the JsonReader.

String getId()

Get the id property: id of the resource for which the event is being emitted.

String getName()

Get the name property: name of the resource for which the event is being emitted.

String getType()

Get the type property: the type of the resource for which the event is being emitted.

ResourceNotificationsResourceDeletedDetails setId(String id)

Set the id property: id of the resource for which the event is being emitted.

ResourceNotificationsResourceDeletedDetails setName(String name)

Set the name property: name of the resource for which the event is being emitted.

ResourceNotificationsResourceDeletedDetails setType(String type)

Set the type property: the type of the resource for which the event is being emitted.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ResourceNotificationsResourceDeletedDetails

public ResourceNotificationsResourceDeletedDetails()

Creates an instance of ResourceNotificationsResourceDeletedDetails class.

Method Details

fromJson

public static ResourceNotificationsResourceDeletedDetails fromJson(JsonReader jsonReader)

Reads an instance of ResourceNotificationsResourceDeletedDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceNotificationsResourceDeletedDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ResourceNotificationsResourceDeletedDetails.

getId

public String getId()

Get the id property: id of the resource for which the event is being emitted.

Returns:

the id value.

getName

public String getName()

Get the name property: name of the resource for which the event is being emitted.

Returns:

the name value.

getType

public String getType()

Get the type property: the type of the resource for which the event is being emitted.

Returns:

the type value.

setId

public ResourceNotificationsResourceDeletedDetails setId(String id)

Set the id property: id of the resource for which the event is being emitted.

Parameters:

id - the id value to set.

Returns:

the ResourceNotificationsResourceDeletedDetails object itself.

setName

public ResourceNotificationsResourceDeletedDetails setName(String name)

Set the name property: name of the resource for which the event is being emitted.

Parameters:

name - the name value to set.

Returns:

the ResourceNotificationsResourceDeletedDetails object itself.

setType

public ResourceNotificationsResourceDeletedDetails setType(String type)

Set the type property: the type of the resource for which the event is being emitted.

Parameters:

type - the type value to set.

Returns:

the ResourceNotificationsResourceDeletedDetails object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest