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