Class DataBoxCopyStartedEventData

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

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

    • DataBoxCopyStartedEventData

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

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

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

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

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