Lezen in het Engels

Delen via


StorageTaskQueuedEventData Class

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

Implements

public final class StorageTaskQueuedEventData
implements JsonSerializable<StorageTaskQueuedEventData>

Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskQueued event.

Constructor Summary

Constructor Description
StorageTaskQueuedEventData()

Creates an instance of StorageTaskQueuedEventData class.

Method Summary

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

Reads an instance of StorageTaskQueuedEventData from the JsonReader.

OffsetDateTime getQueuedDateTime()

Get the queuedDateTime property: The time at which a storage task was queued.

String getTaskExecutionId()

Get the taskExecutionId property: The execution id for a storage task.

StorageTaskQueuedEventData setQueuedDateTime(OffsetDateTime queuedDateTime)

Set the queuedDateTime property: The time at which a storage task was queued.

StorageTaskQueuedEventData setTaskExecutionId(String taskExecutionId)

Set the taskExecutionId property: The execution id for a storage task.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

StorageTaskQueuedEventData

public StorageTaskQueuedEventData()

Creates an instance of StorageTaskQueuedEventData class.

Method Details

fromJson

public static StorageTaskQueuedEventData fromJson(JsonReader jsonReader)

Reads an instance of StorageTaskQueuedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getQueuedDateTime

public OffsetDateTime getQueuedDateTime()

Get the queuedDateTime property: The time at which a storage task was queued.

Returns:

the queuedDateTime value.

getTaskExecutionId

public String getTaskExecutionId()

Get the taskExecutionId property: The execution id for a storage task.

Returns:

the taskExecutionId value.

setQueuedDateTime

public StorageTaskQueuedEventData setQueuedDateTime(OffsetDateTime queuedDateTime)

Set the queuedDateTime property: The time at which a storage task was queued.

Parameters:

queuedDateTime - the queuedDateTime value to set.

Returns:

the StorageTaskQueuedEventData object itself.

setTaskExecutionId

public StorageTaskQueuedEventData setTaskExecutionId(String taskExecutionId)

Set the taskExecutionId property: The execution id for a storage task.

Parameters:

taskExecutionId - the taskExecutionId value to set.

Returns:

the StorageTaskQueuedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest