Class IotEventHubIngestionEndpointConfiguration


  • public final class IotEventHubIngestionEndpointConfiguration
    extends Object
    Event Hub ingestion endpoint configuration.
    • Constructor Detail

      • IotEventHubIngestionEndpointConfiguration

        public IotEventHubIngestionEndpointConfiguration()
    • Method Detail

      • eventHubName

        public String eventHubName()
        Get the eventHubName property: Event Hub name to connect to.
        Returns:
        the eventHubName value.
      • withEventHubName

        public IotEventHubIngestionEndpointConfiguration withEventHubName​(String eventHubName)
        Set the eventHubName property: Event Hub name to connect to.
        Parameters:
        eventHubName - the eventHubName value to set.
        Returns:
        the IotEventHubIngestionEndpointConfiguration object itself.
      • consumerGroup

        public String consumerGroup()
        Get the consumerGroup property: Consumer group of the event hub to connected to.
        Returns:
        the consumerGroup value.
      • withConsumerGroup

        public IotEventHubIngestionEndpointConfiguration withConsumerGroup​(String consumerGroup)
        Set the consumerGroup property: Consumer group of the event hub to connected to.
        Parameters:
        consumerGroup - the consumerGroup value to set.
        Returns:
        the IotEventHubIngestionEndpointConfiguration object itself.
      • fullyQualifiedEventHubNamespace

        public String fullyQualifiedEventHubNamespace()
        Get the fullyQualifiedEventHubNamespace property: Fully qualified namespace of the Event Hub to connect to.
        Returns:
        the fullyQualifiedEventHubNamespace value.
      • withFullyQualifiedEventHubNamespace

        public IotEventHubIngestionEndpointConfiguration withFullyQualifiedEventHubNamespace​(String fullyQualifiedEventHubNamespace)
        Set the fullyQualifiedEventHubNamespace property: Fully qualified namespace of the Event Hub to connect to.
        Parameters:
        fullyQualifiedEventHubNamespace - the fullyQualifiedEventHubNamespace value to set.
        Returns:
        the IotEventHubIngestionEndpointConfiguration object itself.
      • validate

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