Class EventHubStreamInputDataSourceProperties


  • public final class EventHubStreamInputDataSourceProperties
    extends EventHubDataSourceProperties
    The properties that are associated with a Event Hub input containing stream data.
    • Constructor Detail

      • EventHubStreamInputDataSourceProperties

        public EventHubStreamInputDataSourceProperties()
    • Method Detail

      • consumerGroupName

        public String consumerGroupName()
        Get the consumerGroupName property: The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group.
        Returns:
        the consumerGroupName value.
      • withConsumerGroupName

        public EventHubStreamInputDataSourceProperties withConsumerGroupName​(String consumerGroupName)
        Set the consumerGroupName property: The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group.
        Parameters:
        consumerGroupName - the consumerGroupName value to set.
        Returns:
        the EventHubStreamInputDataSourceProperties object itself.
      • withServiceBusNamespace

        public EventHubStreamInputDataSourceProperties 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 EventHubStreamInputDataSourceProperties 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 EventHubStreamInputDataSourceProperties 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.