Class Destination


  • public class Destination
    extends Object
    Capture storage details for capture description.
    • Constructor Detail

      • Destination

        public Destination()
    • Method Detail

      • name

        public String name()
        Get the name property: Name for capture destination.
        Returns:
        the name value.
      • withName

        public Destination withName​(String name)
        Set the name property: Name for capture destination.
        Parameters:
        name - the name value to set.
        Returns:
        the Destination object itself.
      • storageAccountResourceId

        public String storageAccountResourceId()
        Get the storageAccountResourceId property: Resource id of the storage account to be used to create the blobs.
        Returns:
        the storageAccountResourceId value.
      • withStorageAccountResourceId

        public Destination withStorageAccountResourceId​(String storageAccountResourceId)
        Set the storageAccountResourceId property: 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.
      • blobContainer

        public String blobContainer()
        Get the blobContainer property: Blob container Name.
        Returns:
        the blobContainer value.
      • withBlobContainer

        public Destination withBlobContainer​(String blobContainer)
        Set the blobContainer property: Blob container Name.
        Parameters:
        blobContainer - the blobContainer value to set.
        Returns:
        the Destination object itself.
      • 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:
        the archiveNameFormat value.
      • 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:
        archiveNameFormat - the archiveNameFormat value to set.
        Returns:
        the Destination object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.