Class DataBoxCopyCompletedEventData

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

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

    • DataBoxCopyCompletedEventData

      public DataBoxCopyCompletedEventData()
      Creates an instance of DataBoxCopyCompletedEventData 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 DataBoxCopyCompletedEventData 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 DataBoxCopyCompletedEventData object itself.
    • getStageName

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

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

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

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