WebRestoreOperationStartedEventData Class

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

Implements

public final class WebRestoreOperationStartedEventData
implements JsonSerializable<WebRestoreOperationStartedEventData>

Schema of the Data property of an EventGridEvent for a Microsoft.Web.RestoreOperationStarted event.

Constructor Summary

Constructor Description
WebRestoreOperationStartedEventData()

Creates an instance of WebRestoreOperationStartedEventData class.

Method Summary

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

Reads an instance of WebRestoreOperationStartedEventData from the JsonReader.

String getAddress()

Get the address property: HTTP request URL of this operation.

AppEventTypeDetail getAppEventTypeDetail()

Get the appEventTypeDetail property: Detail of action on the app.

String getClientRequestId()

Get the clientRequestId property: The client request id generated by the app service for the site API operation that triggered this event.

String getCorrelationRequestId()

Get the correlationRequestId property: The correlation request id generated by the app service for the site API operation that triggered this event.

String getName()

Get the name property: name of the web site that had this event.

String getRequestId()

Get the requestId property: The request id generated by the app service for the site API operation that triggered this event.

String getVerb()

Get the verb property: HTTP verb of this operation.

WebRestoreOperationStartedEventData setAddress(String address)

Set the address property: HTTP request URL of this operation.

WebRestoreOperationStartedEventData setAppEventTypeDetail(AppEventTypeDetail appEventTypeDetail)

Set the appEventTypeDetail property: Detail of action on the app.

WebRestoreOperationStartedEventData setClientRequestId(String clientRequestId)

Set the clientRequestId property: The client request id generated by the app service for the site API operation that triggered this event.

WebRestoreOperationStartedEventData setCorrelationRequestId(String correlationRequestId)

Set the correlationRequestId property: The correlation request id generated by the app service for the site API operation that triggered this event.

WebRestoreOperationStartedEventData setName(String name)

Set the name property: name of the web site that had this event.

WebRestoreOperationStartedEventData setRequestId(String requestId)

Set the requestId property: The request id generated by the app service for the site API operation that triggered this event.

WebRestoreOperationStartedEventData setVerb(String verb)

Set the verb property: HTTP verb of this operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

WebRestoreOperationStartedEventData

public WebRestoreOperationStartedEventData()

Creates an instance of WebRestoreOperationStartedEventData class.

Method Details

fromJson

public static WebRestoreOperationStartedEventData fromJson(JsonReader jsonReader)

Reads an instance of WebRestoreOperationStartedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WebRestoreOperationStartedEventData 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 WebRestoreOperationStartedEventData.

getAddress

public String getAddress()

Get the address property: HTTP request URL of this operation.

Returns:

the address value.

getAppEventTypeDetail

public AppEventTypeDetail getAppEventTypeDetail()

Get the appEventTypeDetail property: Detail of action on the app.

Returns:

the appEventTypeDetail value.

getClientRequestId

public String getClientRequestId()

Get the clientRequestId property: The client request id generated by the app service for the site API operation that triggered this event.

Returns:

the clientRequestId value.

getCorrelationRequestId

public String getCorrelationRequestId()

Get the correlationRequestId property: The correlation request id generated by the app service for the site API operation that triggered this event.

Returns:

the correlationRequestId value.

getName

public String getName()

Get the name property: name of the web site that had this event.

Returns:

the name value.

getRequestId

public String getRequestId()

Get the requestId property: The request id generated by the app service for the site API operation that triggered this event.

Returns:

the requestId value.

getVerb

public String getVerb()

Get the verb property: HTTP verb of this operation.

Returns:

the verb value.

setAddress

public WebRestoreOperationStartedEventData setAddress(String address)

Set the address property: HTTP request URL of this operation.

Parameters:

address - the address value to set.

Returns:

the WebRestoreOperationStartedEventData object itself.

setAppEventTypeDetail

public WebRestoreOperationStartedEventData setAppEventTypeDetail(AppEventTypeDetail appEventTypeDetail)

Set the appEventTypeDetail property: Detail of action on the app.

Parameters:

appEventTypeDetail - the appEventTypeDetail value to set.

Returns:

the WebRestoreOperationStartedEventData object itself.

setClientRequestId

public WebRestoreOperationStartedEventData setClientRequestId(String clientRequestId)

Set the clientRequestId property: The client request id generated by the app service for the site API operation that triggered this event.

Parameters:

clientRequestId - the clientRequestId value to set.

Returns:

the WebRestoreOperationStartedEventData object itself.

setCorrelationRequestId

public WebRestoreOperationStartedEventData setCorrelationRequestId(String correlationRequestId)

Set the correlationRequestId property: The correlation request id generated by the app service for the site API operation that triggered this event.

Parameters:

correlationRequestId - the correlationRequestId value to set.

Returns:

the WebRestoreOperationStartedEventData object itself.

setName

public WebRestoreOperationStartedEventData setName(String name)

Set the name property: name of the web site that had this event.

Parameters:

name - the name value to set.

Returns:

the WebRestoreOperationStartedEventData object itself.

setRequestId

public WebRestoreOperationStartedEventData setRequestId(String requestId)

Set the requestId property: The request id generated by the app service for the site API operation that triggered this event.

Parameters:

requestId - the requestId value to set.

Returns:

the WebRestoreOperationStartedEventData object itself.

setVerb

public WebRestoreOperationStartedEventData setVerb(String verb)

Set the verb property: HTTP verb of this operation.

Parameters:

verb - the verb value to set.

Returns:

the WebRestoreOperationStartedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to