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