你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventHubStreamInputDataSource Class

  • java.lang.Object

public class EventHubStreamInputDataSource extends StreamInputDataSource

Describes an Event Hub input data source that contains stream data.

Method Summary

Modifier and Type Method and Description
String consumerGroupName()

Get the consumerGroupName value.

String eventHubName()

Get the eventHubName value.

String serviceBusNamespace()

Get the serviceBusNamespace value.

String sharedAccessPolicyKey()

Get the sharedAccessPolicyKey value.

String sharedAccessPolicyName()

Get the sharedAccessPolicyName value.

EventHubStreamInputDataSource withConsumerGroupName(String consumerGroupName)

Set the consumerGroupName value.

EventHubStreamInputDataSource withEventHubName(String eventHubName)

Set the eventHubName value.

EventHubStreamInputDataSource withServiceBusNamespace(String serviceBusNamespace)

Set the serviceBusNamespace value.

EventHubStreamInputDataSource withSharedAccessPolicyKey(String sharedAccessPolicyKey)

Set the sharedAccessPolicyKey value.

EventHubStreamInputDataSource withSharedAccessPolicyName(String sharedAccessPolicyName)

Set the sharedAccessPolicyName value.

Method Details

consumerGroupName

public String consumerGroupName()

Get the consumerGroupName value.

Returns:

the consumerGroupName value

eventHubName

public String eventHubName()

Get the eventHubName value.

Returns:

the eventHubName value

serviceBusNamespace

public String serviceBusNamespace()

Get the serviceBusNamespace value.

Returns:

the serviceBusNamespace value

sharedAccessPolicyKey

public String sharedAccessPolicyKey()

Get the sharedAccessPolicyKey value.

Returns:

the sharedAccessPolicyKey value

sharedAccessPolicyName

public String sharedAccessPolicyName()

Get the sharedAccessPolicyName value.

Returns:

the sharedAccessPolicyName value

withConsumerGroupName

public EventHubStreamInputDataSource withConsumerGroupName(String consumerGroupName)

Set the consumerGroupName value.

Parameters:

consumerGroupName - the consumerGroupName value to set

Returns:

the EventHubStreamInputDataSource object itself.

withEventHubName

public EventHubStreamInputDataSource withEventHubName(String eventHubName)

Set the eventHubName value.

Parameters:

eventHubName - the eventHubName value to set

Returns:

the EventHubStreamInputDataSource object itself.

withServiceBusNamespace

public EventHubStreamInputDataSource withServiceBusNamespace(String serviceBusNamespace)

Set the serviceBusNamespace value.

Parameters:

serviceBusNamespace - the serviceBusNamespace value to set

Returns:

the EventHubStreamInputDataSource object itself.

withSharedAccessPolicyKey

public EventHubStreamInputDataSource withSharedAccessPolicyKey(String sharedAccessPolicyKey)

Set the sharedAccessPolicyKey value.

Parameters:

sharedAccessPolicyKey - the sharedAccessPolicyKey value to set

Returns:

the EventHubStreamInputDataSource object itself.

withSharedAccessPolicyName

public EventHubStreamInputDataSource withSharedAccessPolicyName(String sharedAccessPolicyName)

Set the sharedAccessPolicyName value.

Parameters:

sharedAccessPolicyName - the sharedAccessPolicyName value to set

Returns:

the EventHubStreamInputDataSource object itself.

Applies to