DataBoxCopyStartedEventData Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. DataBoxCopyStartedEventData
- com.
Implements
public final class DataBoxCopyStartedEventData
implements JsonSerializable<DataBoxCopyStartedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.CopyStarted event.
Constructor | Description |
---|---|
Data |
Creates an instance of Data |
Modifier and Type | Method and Description |
---|---|
static
Data |
from Reads an instance of Data |
String |
get Get the serial |
Data |
get Get the stage |
Offset |
get Get the stage |
Data |
set Set the serial |
Data |
set Set the stage |
Data |
set Set the stage |
Json |
to |
Methods inherited from java.lang.Object
DataBoxCopyStartedEventData
public DataBoxCopyStartedEventData()
Creates an instance of DataBoxCopyStartedEventData class.
fromJson
public static DataBoxCopyStartedEventData fromJson(JsonReader jsonReader)
Reads an instance of DataBoxCopyStartedEventData from the JsonReader.
Parameters:
Returns:
Throws:
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:
getStageName
public DataBoxStageName getStageName()
Get the stageName property: Name of the current Stage.
Returns:
getStageTime
public OffsetDateTime getStageTime()
Get the stageTime property: The time at which the stage happened.
Returns:
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:
Returns:
setStageName
public DataBoxCopyStartedEventData setStageName(DataBoxStageName stageName)
Set the stageName property: Name of the current Stage.
Parameters:
Returns:
setStageTime
public DataBoxCopyStartedEventData setStageTime(OffsetDateTime stageTime)
Set the stageTime property: The time at which the stage happened.
Parameters:
Returns:
toJson
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: