Class IotHubDataConnection
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.synapse.fluent.models.DataConnectionInner
-
- com.azure.resourcemanager.synapse.models.IotHubDataConnection
-
public final class IotHubDataConnection extends DataConnectionInner
Class representing an iot hub data connection.
-
-
Constructor Summary
Constructors Constructor Description IotHubDataConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
consumerGroup()
Get the consumerGroup property: The iot hub consumer group.IotHubDataFormat
dataFormat()
Get the dataFormat property: The data format of the message.List<String>
eventSystemProperties()
Get the eventSystemProperties property: System properties of the iot hub.String
iotHubResourceId()
Get the iotHubResourceId property: The resource ID of the Iot hub to be used to create a data connection.String
mappingRuleName()
Get the mappingRuleName property: The mapping rule to be used to ingest the data.ResourceProvisioningState
provisioningState()
Get the provisioningState property: The provisioned state of the resource.String
sharedAccessPolicyName()
Get the sharedAccessPolicyName property: The name of the share access policy.String
tableName()
Get the tableName property: The table where the data should be ingested.void
validate()
Validates the instance.IotHubDataConnection
withConsumerGroup(String consumerGroup)
Set the consumerGroup property: The iot hub consumer group.IotHubDataConnection
withDataFormat(IotHubDataFormat dataFormat)
Set the dataFormat property: The data format of the message.IotHubDataConnection
withEventSystemProperties(List<String> eventSystemProperties)
Set the eventSystemProperties property: System properties of the iot hub.IotHubDataConnection
withIotHubResourceId(String iotHubResourceId)
Set the iotHubResourceId property: The resource ID of the Iot hub to be used to create a data connection.IotHubDataConnection
withLocation(String location)
Set the location property: Resource location.IotHubDataConnection
withMappingRuleName(String mappingRuleName)
Set the mappingRuleName property: The mapping rule to be used to ingest the data.IotHubDataConnection
withSharedAccessPolicyName(String sharedAccessPolicyName)
Set the sharedAccessPolicyName property: The name of the share access policy.IotHubDataConnection
withTableName(String tableName)
Set the tableName property: The table where the data should be ingested.-
Methods inherited from class com.azure.resourcemanager.synapse.fluent.models.DataConnectionInner
location, systemData
-
-
-
-
Method Detail
-
withLocation
public IotHubDataConnection withLocation(String location)
Set the location property: Resource location.- Overrides:
withLocation
in classDataConnectionInner
- Parameters:
location
- the location value to set.- Returns:
- the DataConnectionInner object itself.
-
iotHubResourceId
public String iotHubResourceId()
Get the iotHubResourceId property: The resource ID of the Iot hub to be used to create a data connection.- Returns:
- the iotHubResourceId value.
-
withIotHubResourceId
public IotHubDataConnection withIotHubResourceId(String iotHubResourceId)
Set the iotHubResourceId property: The resource ID of the Iot hub to be used to create a data connection.- Parameters:
iotHubResourceId
- the iotHubResourceId value to set.- Returns:
- the IotHubDataConnection object itself.
-
consumerGroup
public String consumerGroup()
Get the consumerGroup property: The iot hub consumer group.- Returns:
- the consumerGroup value.
-
withConsumerGroup
public IotHubDataConnection withConsumerGroup(String consumerGroup)
Set the consumerGroup property: The iot hub consumer group.- Parameters:
consumerGroup
- the consumerGroup value to set.- Returns:
- the IotHubDataConnection object itself.
-
tableName
public String 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
public IotHubDataConnection withTableName(String tableName)
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 IotHubDataConnection object itself.
-
mappingRuleName
public String 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
public IotHubDataConnection withMappingRuleName(String mappingRuleName)
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 IotHubDataConnection object itself.
-
dataFormat
public IotHubDataFormat 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
public IotHubDataConnection withDataFormat(IotHubDataFormat dataFormat)
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 IotHubDataConnection object itself.
-
eventSystemProperties
public List<String> eventSystemProperties()
Get the eventSystemProperties property: System properties of the iot hub.- Returns:
- the eventSystemProperties value.
-
withEventSystemProperties
public IotHubDataConnection withEventSystemProperties(List<String> eventSystemProperties)
Set the eventSystemProperties property: System properties of the iot hub.- Parameters:
eventSystemProperties
- the eventSystemProperties value to set.- Returns:
- the IotHubDataConnection object itself.
-
sharedAccessPolicyName
public String sharedAccessPolicyName()
Get the sharedAccessPolicyName property: The name of the share access policy.- Returns:
- the sharedAccessPolicyName value.
-
withSharedAccessPolicyName
public IotHubDataConnection withSharedAccessPolicyName(String sharedAccessPolicyName)
Set the sharedAccessPolicyName property: The name of the share access policy.- Parameters:
sharedAccessPolicyName
- the sharedAccessPolicyName value to set.- Returns:
- the IotHubDataConnection object itself.
-
provisioningState
public ResourceProvisioningState provisioningState()
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDataConnectionInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-