Class DataBoxOrderCompletedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.DataBoxOrderCompletedEventData

public final class DataBoxOrderCompletedEventData extends Object
Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.OrderCompleted event.
  • Constructor Details

    • DataBoxOrderCompletedEventData

      public DataBoxOrderCompletedEventData()
      Creates an instance of DataBoxOrderCompletedEventData class.
  • Method Details

    • getSerialNumber

      public String 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

      public DataBoxOrderCompletedEventData setSerialNumber(String serialNumber)
      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 DataBoxOrderCompletedEventData object itself.
    • getStageName

      public DataBoxStageName getStageName()
      Get the stageName property: Name of the current Stage.
      Returns:
      the stageName value.
    • setStageName

      public DataBoxOrderCompletedEventData setStageName(DataBoxStageName stageName)
      Set the stageName property: Name of the current Stage.
      Parameters:
      stageName - the stageName value to set.
      Returns:
      the DataBoxOrderCompletedEventData object itself.
    • getStageTime

      public OffsetDateTime getStageTime()
      Get the stageTime property: The time at which the stage happened.
      Returns:
      the stageTime value.
    • setStageTime

      public DataBoxOrderCompletedEventData setStageTime(OffsetDateTime stageTime)
      Set the stageTime property: The time at which the stage happened.
      Parameters:
      stageTime - the stageTime value to set.
      Returns:
      the DataBoxOrderCompletedEventData object itself.