public final class IotHubConnectionProperties extends Object
Constructor and Description |
---|
IotHubConnectionProperties() |
Modifier and Type | Method and 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.
|
IotHubConnectionProperties |
withConsumerGroup(String consumerGroup)
Set the consumerGroup property: The iot hub consumer group.
|
IotHubConnectionProperties |
withDataFormat(IotHubDataFormat dataFormat)
Set the dataFormat property: The data format of the message.
|
IotHubConnectionProperties |
withEventSystemProperties(List<String> eventSystemProperties)
Set the eventSystemProperties property: System properties of the iot hub.
|
IotHubConnectionProperties |
withIotHubResourceId(String iotHubResourceId)
Set the iotHubResourceId property: The resource ID of the Iot hub to be used to create a data connection.
|
IotHubConnectionProperties |
withMappingRuleName(String mappingRuleName)
Set the mappingRuleName property: The mapping rule to be used to ingest the data.
|
IotHubConnectionProperties |
withSharedAccessPolicyName(String sharedAccessPolicyName)
Set the sharedAccessPolicyName property: The name of the share access policy.
|
IotHubConnectionProperties |
withTableName(String tableName)
Set the tableName property: The table where the data should be ingested.
|
public String iotHubResourceId()
public IotHubConnectionProperties withIotHubResourceId(String iotHubResourceId)
iotHubResourceId
- the iotHubResourceId value to set.public String consumerGroup()
public IotHubConnectionProperties withConsumerGroup(String consumerGroup)
consumerGroup
- the consumerGroup value to set.public String tableName()
public IotHubConnectionProperties withTableName(String tableName)
tableName
- the tableName value to set.public String mappingRuleName()
public IotHubConnectionProperties withMappingRuleName(String mappingRuleName)
mappingRuleName
- the mappingRuleName value to set.public IotHubDataFormat dataFormat()
public IotHubConnectionProperties withDataFormat(IotHubDataFormat dataFormat)
dataFormat
- the dataFormat value to set.public List<String> eventSystemProperties()
public IotHubConnectionProperties withEventSystemProperties(List<String> eventSystemProperties)
eventSystemProperties
- the eventSystemProperties value to set.public String sharedAccessPolicyName()
public IotHubConnectionProperties withSharedAccessPolicyName(String sharedAccessPolicyName)
sharedAccessPolicyName
- the sharedAccessPolicyName value to set.public ResourceProvisioningState provisioningState()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.