Destination Class

  • java.lang.Object
    • com.microsoft.azure.management.eventhub.Destination

public class Destination

Capture storage details for capture description.

Constructor Summary

Constructor Description
Destination()

Method Summary

Modifier and Type Method and Description
java.lang.String archiveNameFormat()

Get blob naming convention for archive, e.g.

java.lang.String blobContainer()

Get blob container Name.

java.lang.String name()

Get name for capture destination.

java.lang.String storageAccountResourceId()

Get resource id of the storage account to be used to create the blobs.

Destination withArchiveNameFormat(String archiveNameFormat)

Set blob naming convention for archive, e.g.

Destination withBlobContainer(String blobContainer)

Set blob container Name.

Destination withName(String name)

Set name for capture destination.

Destination withStorageAccountResourceId(String storageAccountResourceId)

Set resource id of the storage account to be used to create the blobs.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

Destination

public Destination()

Method Details

archiveNameFormat

public String archiveNameFormat()

Get 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:

the archiveNameFormat value

blobContainer

public String blobContainer()

Get blob container Name.

Returns:

the blobContainer value

name

public String name()

Get name for capture destination.

Returns:

the name value

storageAccountResourceId

public String storageAccountResourceId()

Get resource id of the storage account to be used to create the blobs.

Returns:

the storageAccountResourceId value

withArchiveNameFormat

public Destination withArchiveNameFormat(String archiveNameFormat)

Set 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:

archiveNameFormat - the archiveNameFormat value to set

Returns:

the Destination object itself.

withBlobContainer

public Destination withBlobContainer(String blobContainer)

Set blob container Name.

Parameters:

blobContainer - the blobContainer value to set

Returns:

the Destination object itself.

withName

public Destination withName(String name)

Set name for capture destination.

Parameters:

name - the name value to set

Returns:

the Destination object itself.

withStorageAccountResourceId

public Destination withStorageAccountResourceId(String storageAccountResourceId)

Set resource id of the storage account to be used to create the blobs.

Parameters:

storageAccountResourceId - the storageAccountResourceId value to set

Returns:

the Destination object itself.

Applies to