Class EventHubConnectionProperties
java.lang.Object
com.azure.resourcemanager.kusto.fluent.models.EventHubConnectionProperties
Class representing the Kusto event hub connection properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the compression property: The event hub messages compression type.Get the consumerGroup property: The event hub consumer group.Get the databaseRouting property: Indication for database routing information from the data connection, by default only database routing information is allowed.Get the dataFormat property: The data format of the message.Get the eventHubResourceId property: The resource ID of the event hub to be used to create a data connection.Get the eventSystemProperties property: System properties of the event hub.Get the managedIdentityObjectId property: The object ID of the managedIdentityResourceId.Get the managedIdentityResourceId property: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.Get the mappingRuleName property: The mapping rule to be used to ingest the data.Get the provisioningState property: The provisioned state of the resource.Get the retrievalStartDate property: When defined, the data connection retrieves existing Event hub events created since the Retrieval start date.Get the tableName property: The table where the data should be ingested.void
validate()
Validates the instance.withCompression
(Compression compression) Set the compression property: The event hub messages compression type.withConsumerGroup
(String consumerGroup) Set the consumerGroup property: The event hub consumer group.withDatabaseRouting
(DatabaseRouting databaseRouting) Set the databaseRouting property: Indication for database routing information from the data connection, by default only database routing information is allowed.withDataFormat
(EventHubDataFormat dataFormat) Set the dataFormat property: The data format of the message.withEventHubResourceId
(String eventHubResourceId) Set the eventHubResourceId property: The resource ID of the event hub to be used to create a data connection.withEventSystemProperties
(List<String> eventSystemProperties) Set the eventSystemProperties property: System properties of the event hub.withManagedIdentityResourceId
(String managedIdentityResourceId) Set the managedIdentityResourceId property: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.withMappingRuleName
(String mappingRuleName) Set the mappingRuleName property: The mapping rule to be used to ingest the data.withRetrievalStartDate
(OffsetDateTime retrievalStartDate) Set the retrievalStartDate property: When defined, the data connection retrieves existing Event hub events created since the Retrieval start date.withTableName
(String tableName) Set the tableName property: The table where the data should be ingested.
-
Constructor Details
-
EventHubConnectionProperties
public EventHubConnectionProperties()
-
-
Method Details
-
eventHubResourceId
Get the eventHubResourceId property: The resource ID of the event hub to be used to create a data connection.- Returns:
- the eventHubResourceId value.
-
withEventHubResourceId
Set the eventHubResourceId property: The resource ID of the event hub to be used to create a data connection.- Parameters:
eventHubResourceId
- the eventHubResourceId value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
consumerGroup
Get the consumerGroup property: The event hub consumer group.- Returns:
- the consumerGroup value.
-
withConsumerGroup
Set the consumerGroup property: The event hub consumer group.- Parameters:
consumerGroup
- the consumerGroup value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
tableName
Get the tableName property: The table where the data should be ingested. Optionally the table information can be added to each message.- Returns:
- the tableName value.
-
withTableName
Set the tableName property: The table where the data should be ingested. Optionally the table information can be added to each message.- Parameters:
tableName
- the tableName value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
mappingRuleName
Get the mappingRuleName property: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.- Returns:
- the mappingRuleName value.
-
withMappingRuleName
Set the mappingRuleName property: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.- Parameters:
mappingRuleName
- the mappingRuleName value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
dataFormat
Get the dataFormat property: The data format of the message. Optionally the data format can be added to each message.- Returns:
- the dataFormat value.
-
withDataFormat
Set the dataFormat property: The data format of the message. Optionally the data format can be added to each message.- Parameters:
dataFormat
- the dataFormat value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
eventSystemProperties
Get the eventSystemProperties property: System properties of the event hub.- Returns:
- the eventSystemProperties value.
-
withEventSystemProperties
Set the eventSystemProperties property: System properties of the event hub.- Parameters:
eventSystemProperties
- the eventSystemProperties value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
compression
Get the compression property: The event hub messages compression type.- Returns:
- the compression value.
-
withCompression
Set the compression property: The event hub messages compression type.- Parameters:
compression
- the compression value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
managedIdentityResourceId
Get the managedIdentityResourceId property: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.- Returns:
- the managedIdentityResourceId value.
-
withManagedIdentityResourceId
Set the managedIdentityResourceId property: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.- Parameters:
managedIdentityResourceId
- the managedIdentityResourceId value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
managedIdentityObjectId
Get the managedIdentityObjectId property: The object ID of the managedIdentityResourceId.- Returns:
- the managedIdentityObjectId value.
-
databaseRouting
Get the databaseRouting property: Indication for database routing information from the data connection, by default only database routing information is allowed.- Returns:
- the databaseRouting value.
-
withDatabaseRouting
Set the databaseRouting property: Indication for database routing information from the data connection, by default only database routing information is allowed.- Parameters:
databaseRouting
- the databaseRouting value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
retrievalStartDate
Get the retrievalStartDate property: When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period.- Returns:
- the retrievalStartDate value.
-
withRetrievalStartDate
Set the retrievalStartDate property: When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period.- Parameters:
retrievalStartDate
- the retrievalStartDate value to set.- Returns:
- the EventHubConnectionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-