你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EventHubOutputDataSource Class
- java.
lang. Object - OutputDataSource
- com.
microsoft. azure. management. streamanalytics. EventHubOutputDataSource
- com.
public class EventHubOutputDataSource extends OutputDataSource
Describes an Event Hub output data source.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
eventHubName()
Get the eventHubName value. |
String |
partitionKey()
Get the partitionKey value. |
String |
serviceBusNamespace()
Get the serviceBusNamespace value. |
String |
sharedAccessPolicyKey()
Get the sharedAccessPolicyKey value. |
String |
sharedAccessPolicyName()
Get the sharedAccessPolicyName value. |
Event |
withEventHubName(String eventHubName)
Set the eventHubName value. |
Event |
withPartitionKey(String partitionKey)
Set the partitionKey value. |
Event |
withServiceBusNamespace(String serviceBusNamespace)
Set the serviceBusNamespace value. |
Event |
withSharedAccessPolicyKey(String sharedAccessPolicyKey)
Set the sharedAccessPolicyKey value. |
Event |
withSharedAccessPolicyName(String sharedAccessPolicyName)
Set the sharedAccessPolicyName value. |
Method Details
eventHubName
public String eventHubName()
Get the eventHubName value.
Returns:
partitionKey
public String partitionKey()
Get the partitionKey value.
Returns:
serviceBusNamespace
public String serviceBusNamespace()
Get the serviceBusNamespace value.
Returns:
sharedAccessPolicyKey
public String sharedAccessPolicyKey()
Get the sharedAccessPolicyKey value.
Returns:
sharedAccessPolicyName
public String sharedAccessPolicyName()
Get the sharedAccessPolicyName value.
Returns:
withEventHubName
public EventHubOutputDataSource withEventHubName(String eventHubName)
Set the eventHubName value.
Parameters:
Returns:
withPartitionKey
public EventHubOutputDataSource withPartitionKey(String partitionKey)
Set the partitionKey value.
Parameters:
Returns:
withServiceBusNamespace
public EventHubOutputDataSource withServiceBusNamespace(String serviceBusNamespace)
Set the serviceBusNamespace value.
Parameters:
Returns:
withSharedAccessPolicyKey
public EventHubOutputDataSource withSharedAccessPolicyKey(String sharedAccessPolicyKey)
Set the sharedAccessPolicyKey value.
Parameters:
Returns:
withSharedAccessPolicyName
public EventHubOutputDataSource withSharedAccessPolicyName(String sharedAccessPolicyName)
Set the sharedAccessPolicyName value.
Parameters:
Returns: