EventHub.UpdateStages.WithCapture Interface
public static interface EventHub.UpdateStages.WithCapture
The stage of the event hub update allowing to configure data capture.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withDataCaptureDisabled()
Specifies that data capture should be disabled for the event hub. |
abstract Update |
withDataCaptureEnabled()
Specifies that data capture should be enabled for the event hub. |
abstract Update |
withDataCaptureFileNameFormat(String format)
Specifies the format of the file containing captured data. |
abstract Update |
withDataCaptureSkipEmptyArchives(Boolean skipEmptyArchives)
Specified the capture whether to Skip Empty Archives. |
abstract Update |
withDataCaptureWindowSizeInMB(int sizeInMB)
Specifies the capture window size in MB. |
abstract Update |
withDataCaptureWindowSizeInSeconds(int sizeInSeconds)
Specifies the capture window size in seconds. |
abstract Update |
withExistingStorageAccountForCapturedData(StorageAccount storageAccount, String containerName)
Specifies an existing storage account to store the captured data when data capturing is enabled. |
abstract Update |
withExistingStorageAccountForCapturedData(String storageAccountId, String containerName)
Specifies an existing storage account to store the captured data when data capturing is enabled. |
abstract Update |
withNewStorageAccountForCapturedData(Creatable<StorageAccount> storageAccountCreatable, String containerName)
Specifies a new storage account to store the captured data when data capturing is enabled. |
Method Details
withDataCaptureDisabled
public abstract EventHub.Update withDataCaptureDisabled()
Specifies that data capture should be disabled for the event hub.
Returns:
withDataCaptureEnabled
public abstract EventHub.Update withDataCaptureEnabled()
Specifies that data capture should be enabled for the event hub.
Returns:
withDataCaptureFileNameFormat
public abstract EventHub.Update withDataCaptureFileNameFormat(String format)
Specifies the format of the file containing captured data.
Parameters:
Returns:
withDataCaptureSkipEmptyArchives
public abstract EventHub.Update withDataCaptureSkipEmptyArchives(Boolean skipEmptyArchives)
Specified the capture whether to Skip Empty Archives.
Parameters:
Returns:
withDataCaptureWindowSizeInMB
public abstract EventHub.Update withDataCaptureWindowSizeInMB(int sizeInMB)
Specifies the capture window size in MB.
Parameters:
Returns:
withDataCaptureWindowSizeInSeconds
public abstract EventHub.Update withDataCaptureWindowSizeInSeconds(int sizeInSeconds)
Specifies the capture window size in seconds.
Parameters:
Returns:
withExistingStorageAccountForCapturedData
public abstract EventHub.Update withExistingStorageAccountForCapturedData(StorageAccount storageAccount, String containerName)
Specifies an existing storage account to store the captured data when data capturing is enabled.
Parameters:
Returns:
withExistingStorageAccountForCapturedData
public abstract EventHub.Update withExistingStorageAccountForCapturedData(String storageAccountId, String containerName)
Specifies an existing storage account to store the captured data when data capturing is enabled.
Parameters:
Returns:
withNewStorageAccountForCapturedData
public abstract EventHub.Update withNewStorageAccountForCapturedData(Creatable
Specifies a new storage account to store the captured data when data capturing is enabled.
Parameters:
Returns:
Applies to
Azure SDK for Java