Class EventHubOutputDataSourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.ServiceBusDataSourceProperties
-
- com.azure.resourcemanager.streamanalytics.models.EventHubDataSourceProperties
-
- com.azure.resourcemanager.streamanalytics.fluent.models.EventHubOutputDataSourceProperties
-
public final class EventHubOutputDataSourceProperties extends EventHubDataSourceProperties
The properties that are associated with an Event Hub output.
-
-
Constructor Summary
Constructors Constructor Description EventHubOutputDataSourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
partitionKey()
Get the partitionKey property: The key/column that is used to determine to which partition to send event data.List<String>
propertyColumns()
Get the propertyColumns property: The properties associated with this Event Hub output.void
validate()
Validates the instance.EventHubOutputDataSourceProperties
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.EventHubOutputDataSourceProperties
withEventHubName(String eventHubName)
Set the eventHubName property: The name of the Event Hub.EventHubOutputDataSourceProperties
withPartitionKey(String partitionKey)
Set the partitionKey property: The key/column that is used to determine to which partition to send event data.EventHubOutputDataSourceProperties
withPropertyColumns(List<String> propertyColumns)
Set the propertyColumns property: The properties associated with this Event Hub output.EventHubOutputDataSourceProperties
withServiceBusNamespace(String serviceBusNamespace)
Set the serviceBusNamespace property: The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.EventHubOutputDataSourceProperties
withSharedAccessPolicyKey(String sharedAccessPolicyKey)
Set the sharedAccessPolicyKey property: The shared access policy key for the specified shared access policy.EventHubOutputDataSourceProperties
withSharedAccessPolicyName(String sharedAccessPolicyName)
Set the sharedAccessPolicyName property: The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.-
Methods inherited from class com.azure.resourcemanager.streamanalytics.models.EventHubDataSourceProperties
eventHubName
-
Methods inherited from class com.azure.resourcemanager.streamanalytics.models.ServiceBusDataSourceProperties
authenticationMode, serviceBusNamespace, sharedAccessPolicyKey, sharedAccessPolicyName
-
-
-
-
Method Detail
-
partitionKey
public String partitionKey()
Get the partitionKey property: The key/column that is used to determine to which partition to send event data.- Returns:
- the partitionKey value.
-
withPartitionKey
public EventHubOutputDataSourceProperties withPartitionKey(String partitionKey)
Set the partitionKey property: The key/column that is used to determine to which partition to send event data.- Parameters:
partitionKey
- the partitionKey value to set.- Returns:
- the EventHubOutputDataSourceProperties object itself.
-
propertyColumns
public List<String> propertyColumns()
Get the propertyColumns property: The properties associated with this Event Hub output.- Returns:
- the propertyColumns value.
-
withPropertyColumns
public EventHubOutputDataSourceProperties withPropertyColumns(List<String> propertyColumns)
Set the propertyColumns property: The properties associated with this Event Hub output.- Parameters:
propertyColumns
- the propertyColumns value to set.- Returns:
- the EventHubOutputDataSourceProperties object itself.
-
withEventHubName
public EventHubOutputDataSourceProperties withEventHubName(String eventHubName)
Set the eventHubName property: The name of the Event Hub. Required on PUT (CreateOrReplace) requests.- Overrides:
withEventHubName
in classEventHubDataSourceProperties
- Parameters:
eventHubName
- the eventHubName value to set.- Returns:
- the EventHubDataSourceProperties object itself.
-
withServiceBusNamespace
public EventHubOutputDataSourceProperties withServiceBusNamespace(String serviceBusNamespace)
Set the serviceBusNamespace property: The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.- Overrides:
withServiceBusNamespace
in classEventHubDataSourceProperties
- Parameters:
serviceBusNamespace
- the serviceBusNamespace value to set.- Returns:
- the ServiceBusDataSourceProperties object itself.
-
withSharedAccessPolicyName
public EventHubOutputDataSourceProperties withSharedAccessPolicyName(String sharedAccessPolicyName)
Set the sharedAccessPolicyName property: The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.- Overrides:
withSharedAccessPolicyName
in classEventHubDataSourceProperties
- Parameters:
sharedAccessPolicyName
- the sharedAccessPolicyName value to set.- Returns:
- the ServiceBusDataSourceProperties object itself.
-
withSharedAccessPolicyKey
public EventHubOutputDataSourceProperties withSharedAccessPolicyKey(String sharedAccessPolicyKey)
Set the sharedAccessPolicyKey property: The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests.- Overrides:
withSharedAccessPolicyKey
in classEventHubDataSourceProperties
- Parameters:
sharedAccessPolicyKey
- the sharedAccessPolicyKey value to set.- Returns:
- the ServiceBusDataSourceProperties object itself.
-
withAuthenticationMode
public EventHubOutputDataSourceProperties withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.- Overrides:
withAuthenticationMode
in classEventHubDataSourceProperties
- Parameters:
authenticationMode
- the authenticationMode value to set.- Returns:
- the ServiceBusDataSourceProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEventHubDataSourceProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-