Class DataBoxCopyStartedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.DataBoxCopyStartedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.CopyStarted event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DataBoxCopyStartedEventData class. -
Method Summary
Modifier and TypeMethodDescriptionGet the serialNumber property: Serial Number of the device associated with the event.Get the stageName property: Name of the current Stage.Get the stageTime property: The time at which the stage happened.setSerialNumber(String serialNumber) Set the serialNumber property: Serial Number of the device associated with the event.setStageName(DataBoxStageName stageName) Set the stageName property: Name of the current Stage.setStageTime(OffsetDateTime stageTime) Set the stageTime property: The time at which the stage happened.
-
Constructor Details
-
DataBoxCopyStartedEventData
public DataBoxCopyStartedEventData()Creates an instance of DataBoxCopyStartedEventData class.
-
-
Method Details
-
getSerialNumber
Get the serialNumber property: Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated.- Returns:
- the serialNumber value.
-
setSerialNumber
Set the serialNumber property: Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated.- Parameters:
serialNumber- the serialNumber value to set.- Returns:
- the DataBoxCopyStartedEventData object itself.
-
getStageName
Get the stageName property: Name of the current Stage.- Returns:
- the stageName value.
-
setStageName
Set the stageName property: Name of the current Stage.- Parameters:
stageName- the stageName value to set.- Returns:
- the DataBoxCopyStartedEventData object itself.
-
getStageTime
Get the stageTime property: The time at which the stage happened.- Returns:
- the stageTime value.
-
setStageTime
Set the stageTime property: The time at which the stage happened.- Parameters:
stageTime- the stageTime value to set.- Returns:
- the DataBoxCopyStartedEventData object itself.
-