EventHubConsumerGroup.DefinitionStages.WithEventHub Interface
public static interface EventHubConsumerGroup.DefinitionStages.WithEventHub
The stage of the consumer group definition allowing to specify the event hub to be associated with it.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingEventHub(EventHub eventHub)
Specifies the event hub for which consumer group needs to be created. |
abstract
With |
withExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName)
Specifies the event hub for which consumer group needs to be created. |
abstract
With |
withExistingEventHubId(String eventHubId)
Specifies the event hub for which consumer group needs to be created. |
Method Details
withExistingEventHub
public abstract EventHubConsumerGroup.DefinitionStages.WithCreate withExistingEventHub(EventHub eventHub)
Specifies the event hub for which consumer group needs to be created.
Parameters:
Returns:
withExistingEventHub
public abstract EventHubConsumerGroup.DefinitionStages.WithCreate withExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName)
Specifies the event hub for which consumer group needs to be created.
Parameters:
Returns:
withExistingEventHubId
public abstract EventHubConsumerGroup.DefinitionStages.WithCreate withExistingEventHubId(String eventHubId)
Specifies the event hub for which consumer group needs to be created.
Parameters:
Returns:
Applies to
Azure SDK for Java