EventHub.UpdateStages.WithConsumerGroup Interface
public static interface EventHub.UpdateStages.WithConsumerGroup
The stage of the event hub update allowing to add consumer group for event hub.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withNewConsumerGroup(String name)
Specifies that a new consumer group should be created for the event hub. |
abstract Update |
withNewConsumerGroup(String name, String metadata)
Specifies that a new consumer group should be created for the event hub. |
abstract Update |
withoutConsumerGroup(String name)
Specifies that a consumer group associated with the event hub should be deleted. |
Method Details
withNewConsumerGroup
public abstract EventHub.Update withNewConsumerGroup(String name)
Specifies that a new consumer group should be created for the event hub.
Parameters:
Returns:
withNewConsumerGroup
public abstract EventHub.Update withNewConsumerGroup(String name, String metadata)
Specifies that a new consumer group should be created for the event hub.
Parameters:
Returns:
withoutConsumerGroup
public abstract EventHub.Update withoutConsumerGroup(String name)
Specifies that a consumer group associated with the event hub should be deleted.
Parameters:
Returns:
Applies to
Azure SDK for Java