Class EventHubOutputDataSourceProperties


  • public final class EventHubOutputDataSourceProperties
    extends EventHubDataSourceProperties
    The properties that are associated with an Event Hub output.
    • Constructor Detail

      • EventHubOutputDataSourceProperties

        public EventHubOutputDataSourceProperties()
    • Method Detail

      • partitionKey

        public String partitionKey()
        Get the partitionKey property: The key/column that is used to determine to which partition to send event data.
        Returns:
        the partitionKey value.
      • withPartitionKey

        public EventHubOutputDataSourceProperties withPartitionKey​(String partitionKey)
        Set the partitionKey property: The key/column that is used to determine to which partition to send event data.
        Parameters:
        partitionKey - the partitionKey value to set.
        Returns:
        the EventHubOutputDataSourceProperties object itself.
      • propertyColumns

        public List<String> propertyColumns()
        Get the propertyColumns property: The properties associated with this Event Hub output.
        Returns:
        the propertyColumns value.
      • withPropertyColumns

        public EventHubOutputDataSourceProperties withPropertyColumns​(List<String> propertyColumns)
        Set the propertyColumns property: The properties associated with this Event Hub output.
        Parameters:
        propertyColumns - the propertyColumns value to set.
        Returns:
        the EventHubOutputDataSourceProperties object itself.
      • withServiceBusNamespace

        public EventHubOutputDataSourceProperties withServiceBusNamespace​(String serviceBusNamespace)
        Set the serviceBusNamespace property: The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.
        Overrides:
        withServiceBusNamespace in class EventHubDataSourceProperties
        Parameters:
        serviceBusNamespace - the serviceBusNamespace value to set.
        Returns:
        the ServiceBusDataSourceProperties object itself.
      • withSharedAccessPolicyName

        public EventHubOutputDataSourceProperties withSharedAccessPolicyName​(String sharedAccessPolicyName)
        Set the sharedAccessPolicyName property: The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.
        Overrides:
        withSharedAccessPolicyName in class EventHubDataSourceProperties
        Parameters:
        sharedAccessPolicyName - the sharedAccessPolicyName value to set.
        Returns:
        the ServiceBusDataSourceProperties object itself.
      • withSharedAccessPolicyKey

        public EventHubOutputDataSourceProperties withSharedAccessPolicyKey​(String sharedAccessPolicyKey)
        Set the sharedAccessPolicyKey property: The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests.
        Overrides:
        withSharedAccessPolicyKey in class EventHubDataSourceProperties
        Parameters:
        sharedAccessPolicyKey - the sharedAccessPolicyKey value to set.
        Returns:
        the ServiceBusDataSourceProperties object itself.