public static enum EventHubsProcessorDescriptor.StartPosition extends Enum<EventHubsProcessorDescriptor.StartPosition>
| Modifier and Type | Method and Description |
|---|---|
com.azure.messaging.eventhubs.models.EventPosition |
toEventPosition() |
static EventHubsProcessorDescriptor.StartPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventHubsProcessorDescriptor.StartPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventHubsProcessorDescriptor.StartPosition EARLIEST
public static final EventHubsProcessorDescriptor.StartPosition LATEST
public static EventHubsProcessorDescriptor.StartPosition[] values()
public static EventHubsProcessorDescriptor.StartPosition valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic com.azure.messaging.eventhubs.models.EventPosition toEventPosition()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.