Class EventHubProperties

java.lang.Object
com.azure.messaging.eventhubs.EventHubProperties

public final class EventHubProperties extends Object
Holds information about an Event Hub which can come handy while performing operations like receiving events from a specific partition.
See Also:
  • Method Details

    • getName

      public String getName()
      Gets the name of the Event Hub.
      Returns:
      Name of the Event Hub.
    • getCreatedAt

      public Instant getCreatedAt()
      Gets the instant, in UTC, at which Event Hub was created.
      Returns:
      The instant, in UTC, at which the Event Hub was created.
    • getPartitionIds

      public IterableStream<String> getPartitionIds()
      Gets the list of partition identifiers of the Event Hub.
      Returns:
      The list of partition identifiers of the Event Hub.