Package com.azure.messaging.eventhubs
Class EventHubProperties
java.lang.Object
com.azure.messaging.eventhubs.EventHubProperties
Holds information about an Event Hub which can come handy while performing operations like
receiving events from a specific partition
.-
Method Summary
Modifier and TypeMethodDescriptionGets the instant, in UTC, at which Event Hub was created.getName()
Gets the name of the Event Hub.Gets the list of partition identifiers of the Event Hub.
-
Method Details
-
getName
Gets the name of the Event Hub.- Returns:
- Name of the Event Hub.
-
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
Gets the list of partition identifiers of the Event Hub.- Returns:
- The list of partition identifiers of the Event Hub.
-