WebSlotSwapWithPreviewStartedEventData Class

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

Implements

public final class WebSlotSwapWithPreviewStartedEventData
implements JsonSerializable<WebSlotSwapWithPreviewStartedEventData>

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

Constructor Summary

Constructor Description
WebSlotSwapWithPreviewStartedEventData()

Creates an instance of WebSlotSwapWithPreviewStartedEventData class.

Method Summary

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

Reads an instance of WebSlotSwapWithPreviewStartedEventData 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.

WebSlotSwapWithPreviewStartedEventData setAddress(String address)

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

WebSlotSwapWithPreviewStartedEventData setAppEventTypeDetail(AppEventTypeDetail appEventTypeDetail)

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

WebSlotSwapWithPreviewStartedEventData 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.

WebSlotSwapWithPreviewStartedEventData 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.

WebSlotSwapWithPreviewStartedEventData setName(String name)

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

WebSlotSwapWithPreviewStartedEventData setRequestId(String requestId)

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

WebSlotSwapWithPreviewStartedEventData setVerb(String verb)

Set the verb property: HTTP verb of this operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

WebSlotSwapWithPreviewStartedEventData

public WebSlotSwapWithPreviewStartedEventData()

Creates an instance of WebSlotSwapWithPreviewStartedEventData class.

Method Details

fromJson

public static WebSlotSwapWithPreviewStartedEventData fromJson(JsonReader jsonReader)

Reads an instance of WebSlotSwapWithPreviewStartedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 WebSlotSwapWithPreviewStartedEventData setAddress(String address)

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

Parameters:

address - the address value to set.

Returns:

the WebSlotSwapWithPreviewStartedEventData object itself.

setAppEventTypeDetail

public WebSlotSwapWithPreviewStartedEventData setAppEventTypeDetail(AppEventTypeDetail appEventTypeDetail)

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

Parameters:

appEventTypeDetail - the appEventTypeDetail value to set.

Returns:

the WebSlotSwapWithPreviewStartedEventData object itself.

setClientRequestId

public WebSlotSwapWithPreviewStartedEventData 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 WebSlotSwapWithPreviewStartedEventData object itself.

setCorrelationRequestId

public WebSlotSwapWithPreviewStartedEventData 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 WebSlotSwapWithPreviewStartedEventData object itself.

setName

public WebSlotSwapWithPreviewStartedEventData 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 WebSlotSwapWithPreviewStartedEventData object itself.

setRequestId

public WebSlotSwapWithPreviewStartedEventData 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 WebSlotSwapWithPreviewStartedEventData object itself.

setVerb

public WebSlotSwapWithPreviewStartedEventData setVerb(String verb)

Set the verb property: HTTP verb of this operation.

Parameters:

verb - the verb value to set.

Returns:

the WebSlotSwapWithPreviewStartedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to