Destination Class
- java.
lang. Object - com.
azure. resourcemanager. eventhubs. models. Destination
- com.
Implements
public final class Destination
implements JsonSerializable<Destination>
Capture storage details for capture description.
Constructor Summary
Constructor | Description |
---|---|
Destination() |
Creates an instance of Destination class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
archiveNameFormat()
Get the archive |
String |
blobContainer()
Get the blob |
String |
dataLakeAccountName()
Get the data |
String |
dataLakeFolderPath()
Get the data |
UUID |
dataLakeSubscriptionId()
Get the data |
static Destination |
fromJson(JsonReader jsonReader)
Reads an instance of Destination from the Json |
Capture |
identity()
Get the identity property: A value that indicates whether capture description is enabled. |
String |
name()
Get the name property: Name for capture destination. |
String |
storageAccountResourceId()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Destination |
withArchiveNameFormat(String archiveNameFormat)
Set the archive |
Destination |
withBlobContainer(String blobContainer)
Set the blob |
Destination |
withDataLakeAccountName(String dataLakeAccountName)
Set the data |
Destination |
withDataLakeFolderPath(String dataLakeFolderPath)
Set the data |
Destination |
withDataLakeSubscriptionId(UUID dataLakeSubscriptionId)
Set the data |
Destination |
withIdentity(CaptureIdentity identity)
Set the identity property: A value that indicates whether capture description is enabled. |
Destination |
withName(String name)
Set the name property: Name for capture destination. |
Destination |
withStorageAccountResourceId(String storageAccountResourceId)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
Destination
public Destination()
Creates an instance of Destination class.
Method Details
archiveNameFormat
public String archiveNameFormat()
Get the archiveNameFormat property: Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order.
Returns:
blobContainer
public String blobContainer()
Get the blobContainer property: Blob container Name.
Returns:
dataLakeAccountName
public String dataLakeAccountName()
Get the dataLakeAccountName property: The Azure Data Lake Store name for the captured events.
Returns:
dataLakeFolderPath
public String dataLakeFolderPath()
Get the dataLakeFolderPath property: The destination folder path for the captured events.
Returns:
dataLakeSubscriptionId
public UUID dataLakeSubscriptionId()
Get the dataLakeSubscriptionId property: Subscription Id of Azure Data Lake Store.
Returns:
fromJson
public static Destination fromJson(JsonReader jsonReader)
Reads an instance of Destination from the JsonReader.
Parameters:
Returns:
Throws:
identity
public CaptureIdentity identity()
Get the identity property: A value that indicates whether capture description is enabled.
Returns:
name
public String name()
Get the name property: Name for capture destination.
Returns:
storageAccountResourceId
public String storageAccountResourceId()
Get the storageAccountResourceId property: Resource id of the storage account to be used to create the blobs.
Returns:
toJson
validate
public void validate()
Validates the instance.
withArchiveNameFormat
public Destination withArchiveNameFormat(String archiveNameFormat)
Set the archiveNameFormat property: Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order.
Parameters:
Returns:
withBlobContainer
public Destination withBlobContainer(String blobContainer)
Set the blobContainer property: Blob container Name.
Parameters:
Returns:
withDataLakeAccountName
public Destination withDataLakeAccountName(String dataLakeAccountName)
Set the dataLakeAccountName property: The Azure Data Lake Store name for the captured events.
Parameters:
Returns:
withDataLakeFolderPath
public Destination withDataLakeFolderPath(String dataLakeFolderPath)
Set the dataLakeFolderPath property: The destination folder path for the captured events.
Parameters:
Returns:
withDataLakeSubscriptionId
public Destination withDataLakeSubscriptionId(UUID dataLakeSubscriptionId)
Set the dataLakeSubscriptionId property: Subscription Id of Azure Data Lake Store.
Parameters:
Returns:
withIdentity
public Destination withIdentity(CaptureIdentity identity)
Set the identity property: A value that indicates whether capture description is enabled.
Parameters:
Returns:
withName
public Destination withName(String name)
Set the name property: Name for capture destination.
Parameters:
Returns:
withStorageAccountResourceId
public Destination withStorageAccountResourceId(String storageAccountResourceId)
Set the storageAccountResourceId property: Resource id of the storage account to be used to create the blobs.
Parameters:
Returns:
Applies to
Azure SDK for Java