EventHubProperties Class
- java.
lang. Object - com.
azure. messaging. eventhubs. EventHubProperties
- com.
public final class EventHubProperties
Holds information about an Event Hub which can come handy while performing operations like receiveFromPartition(String partitionId, EventPosition startingPosition).
Method Summary
Modifier and Type | Method and Description |
---|---|
Instant |
getCreatedAt()
Gets the instant, in UTC, at which Event Hub was created. |
String |
getName()
Gets the name of the Event Hub. |
Iterable |
getPartitionIds()
Gets the list of partition identifiers of the Event Hub. |
Methods inherited from java.lang.Object
Method Details
getCreatedAt
public Instant getCreatedAt()
Gets the instant, in UTC, at which Event Hub was created.
Returns:
getName
public String getName()
Gets the name of the Event Hub.
Returns:
getPartitionIds
public IterableStream
Gets the list of partition identifiers of the Event Hub.
Returns:
Applies to
Azure SDK for Java