public class EventHubCaptureFileCreatedEventData extends Object
| Constructor and Description |
|---|
EventHubCaptureFileCreatedEventData() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
eventCount()
Get the number of events in the file.
|
String |
fileType()
Get the file type of the capture file.
|
String |
fileurl()
Get the path to the capture file.
|
org.joda.time.DateTime |
firstEnqueueTime()
Get the first time from the queue.
|
Integer |
firstSequenceNumber()
Get the smallest sequence number from the queue.
|
org.joda.time.DateTime |
lastEnqueueTime()
Get the last time from the queue.
|
Integer |
lastSequenceNumber()
Get the last sequence number from the queue.
|
String |
partitionId()
Get the shard ID.
|
Integer |
sizeInBytes()
Get the file size.
|
EventHubCaptureFileCreatedEventData |
withEventCount(Integer eventCount)
Set the number of events in the file.
|
EventHubCaptureFileCreatedEventData |
withFileType(String fileType)
Set the file type of the capture file.
|
EventHubCaptureFileCreatedEventData |
withFileurl(String fileurl)
Set the path to the capture file.
|
EventHubCaptureFileCreatedEventData |
withFirstEnqueueTime(org.joda.time.DateTime firstEnqueueTime)
Set the first time from the queue.
|
EventHubCaptureFileCreatedEventData |
withFirstSequenceNumber(Integer firstSequenceNumber)
Set the smallest sequence number from the queue.
|
EventHubCaptureFileCreatedEventData |
withLastEnqueueTime(org.joda.time.DateTime lastEnqueueTime)
Set the last time from the queue.
|
EventHubCaptureFileCreatedEventData |
withLastSequenceNumber(Integer lastSequenceNumber)
Set the last sequence number from the queue.
|
EventHubCaptureFileCreatedEventData |
withPartitionId(String partitionId)
Set the shard ID.
|
EventHubCaptureFileCreatedEventData |
withSizeInBytes(Integer sizeInBytes)
Set the file size.
|
public String fileurl()
public EventHubCaptureFileCreatedEventData withFileurl(String fileurl)
fileurl - the fileurl value to setpublic String fileType()
public EventHubCaptureFileCreatedEventData withFileType(String fileType)
fileType - the fileType value to setpublic String partitionId()
public EventHubCaptureFileCreatedEventData withPartitionId(String partitionId)
partitionId - the partitionId value to setpublic Integer sizeInBytes()
public EventHubCaptureFileCreatedEventData withSizeInBytes(Integer sizeInBytes)
sizeInBytes - the sizeInBytes value to setpublic Integer eventCount()
public EventHubCaptureFileCreatedEventData withEventCount(Integer eventCount)
eventCount - the eventCount value to setpublic Integer firstSequenceNumber()
public EventHubCaptureFileCreatedEventData withFirstSequenceNumber(Integer firstSequenceNumber)
firstSequenceNumber - the firstSequenceNumber value to setpublic Integer lastSequenceNumber()
public EventHubCaptureFileCreatedEventData withLastSequenceNumber(Integer lastSequenceNumber)
lastSequenceNumber - the lastSequenceNumber value to setpublic org.joda.time.DateTime firstEnqueueTime()
public EventHubCaptureFileCreatedEventData withFirstEnqueueTime(org.joda.time.DateTime firstEnqueueTime)
firstEnqueueTime - the firstEnqueueTime value to setpublic org.joda.time.DateTime lastEnqueueTime()
public EventHubCaptureFileCreatedEventData withLastEnqueueTime(org.joda.time.DateTime lastEnqueueTime)
lastEnqueueTime - the lastEnqueueTime value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/