Lezen in het Engels

Delen via


AvsPrivateCloudEventData Class

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

Implements

public class AvsPrivateCloudEventData
implements JsonSerializable<AvsPrivateCloudEventData>

Schema of the Data property of an EventGridEvent for Microsoft.AVS/privateClouds events.

Constructor Summary

Constructor Description
AvsPrivateCloudEventData()

Creates an instance of AvsPrivateCloudEventData class.

Method Summary

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

Reads an instance of AvsPrivateCloudEventData from the JsonReader.

String getOperationId()

Get the operationId property: Id of the operation that caused this event.

AvsPrivateCloudEventData setOperationId(String operationId)

Set the operationId property: Id of the operation that caused this event.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AvsPrivateCloudEventData

public AvsPrivateCloudEventData()

Creates an instance of AvsPrivateCloudEventData class.

Method Details

fromJson

public static AvsPrivateCloudEventData fromJson(JsonReader jsonReader)

Reads an instance of AvsPrivateCloudEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getOperationId

public String getOperationId()

Get the operationId property: Id of the operation that caused this event.

Returns:

the operationId value.

setOperationId

public AvsPrivateCloudEventData setOperationId(String operationId)

Set the operationId property: Id of the operation that caused this event.

Parameters:

operationId - the operationId value to set.

Returns:

the AvsPrivateCloudEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest