Class EventHubCaptureFileCreatedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.EventHubCaptureFileCreatedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.EventHub.CaptureFileCreated event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the eventCount property: The number of events in the file.Get the fileType property: The file type of the capture file.Get the fileurl property: The path to the capture file.Get the firstEnqueueTime property: The first time from the queue.Get the firstSequenceNumber property: The smallest sequence number from the queue.Get the lastEnqueueTime property: The last time from the queue.Get the lastSequenceNumber property: The last sequence number from the queue.Get the partitionId property: The shard ID.Get the sizeInBytes property: The file size.setEventCount
(Integer eventCount) Set the eventCount property: The number of events in the file.setFileType
(String fileType) Set the fileType property: The file type of the capture file.setFileurl
(String fileurl) Set the fileurl property: The path to the capture file.setFirstEnqueueTime
(OffsetDateTime firstEnqueueTime) Set the firstEnqueueTime property: The first time from the queue.setFirstSequenceNumber
(Integer firstSequenceNumber) Set the firstSequenceNumber property: The smallest sequence number from the queue.setLastEnqueueTime
(OffsetDateTime lastEnqueueTime) Set the lastEnqueueTime property: The last time from the queue.setLastSequenceNumber
(Integer lastSequenceNumber) Set the lastSequenceNumber property: The last sequence number from the queue.setPartitionId
(String partitionId) Set the partitionId property: The shard ID.setSizeInBytes
(Integer sizeInBytes) Set the sizeInBytes property: The file size.
-
Constructor Details
-
EventHubCaptureFileCreatedEventData
public EventHubCaptureFileCreatedEventData()
-
-
Method Details
-
getFileurl
Get the fileurl property: The path to the capture file.- Returns:
- the fileurl value.
-
setFileurl
Set the fileurl property: The path to the capture file.- Parameters:
fileurl
- the fileurl value to set.- Returns:
- the EventHubCaptureFileCreatedEventData object itself.
-
getFileType
Get the fileType property: The file type of the capture file.- Returns:
- the fileType value.
-
setFileType
Set the fileType property: The file type of the capture file.- Parameters:
fileType
- the fileType value to set.- Returns:
- the EventHubCaptureFileCreatedEventData object itself.
-
getPartitionId
Get the partitionId property: The shard ID.- Returns:
- the partitionId value.
-
setPartitionId
Set the partitionId property: The shard ID.- Parameters:
partitionId
- the partitionId value to set.- Returns:
- the EventHubCaptureFileCreatedEventData object itself.
-
getSizeInBytes
Get the sizeInBytes property: The file size.- Returns:
- the sizeInBytes value.
-
setSizeInBytes
Set the sizeInBytes property: The file size.- Parameters:
sizeInBytes
- the sizeInBytes value to set.- Returns:
- the EventHubCaptureFileCreatedEventData object itself.
-
getEventCount
Get the eventCount property: The number of events in the file.- Returns:
- the eventCount value.
-
setEventCount
Set the eventCount property: The number of events in the file.- Parameters:
eventCount
- the eventCount value to set.- Returns:
- the EventHubCaptureFileCreatedEventData object itself.
-
getFirstSequenceNumber
Get the firstSequenceNumber property: The smallest sequence number from the queue.- Returns:
- the firstSequenceNumber value.
-
setFirstSequenceNumber
Set the firstSequenceNumber property: The smallest sequence number from the queue.- Parameters:
firstSequenceNumber
- the firstSequenceNumber value to set.- Returns:
- the EventHubCaptureFileCreatedEventData object itself.
-
getLastSequenceNumber
Get the lastSequenceNumber property: The last sequence number from the queue.- Returns:
- the lastSequenceNumber value.
-
setLastSequenceNumber
Set the lastSequenceNumber property: The last sequence number from the queue.- Parameters:
lastSequenceNumber
- the lastSequenceNumber value to set.- Returns:
- the EventHubCaptureFileCreatedEventData object itself.
-
getFirstEnqueueTime
Get the firstEnqueueTime property: The first time from the queue.- Returns:
- the firstEnqueueTime value.
-
setFirstEnqueueTime
Set the firstEnqueueTime property: The first time from the queue.- Parameters:
firstEnqueueTime
- the firstEnqueueTime value to set.- Returns:
- the EventHubCaptureFileCreatedEventData object itself.
-
getLastEnqueueTime
Get the lastEnqueueTime property: The last time from the queue.- Returns:
- the lastEnqueueTime value.
-
setLastEnqueueTime
Set the lastEnqueueTime property: The last time from the queue.- Parameters:
lastEnqueueTime
- the lastEnqueueTime value to set.- Returns:
- the EventHubCaptureFileCreatedEventData object itself.
-