public final class EventHubDataConnection extends DataConnectionInner
Constructor and Description |
---|
EventHubDataConnection() |
Modifier and Type | Method and Description |
---|---|
Compression |
compression()
Get the compression property: The event hub messages compression type.
|
String |
consumerGroup()
Get the consumerGroup property: The event hub consumer group.
|
EventHubDataFormat |
dataFormat()
Get the dataFormat property: The data format of the message.
|
String |
eventHubResourceId()
Get the eventHubResourceId property: The resource ID of the event hub to be used to create a data connection.
|
List<String> |
eventSystemProperties()
Get the eventSystemProperties property: System properties of the event hub.
|
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 |
tableName()
Get the tableName property: The table where the data should be ingested.
|
void |
validate()
Validates the instance.
|
EventHubDataConnection |
withCompression(Compression compression)
Set the compression property: The event hub messages compression type.
|
EventHubDataConnection |
withConsumerGroup(String consumerGroup)
Set the consumerGroup property: The event hub consumer group.
|
EventHubDataConnection |
withDataFormat(EventHubDataFormat dataFormat)
Set the dataFormat property: The data format of the message.
|
EventHubDataConnection |
withEventHubResourceId(String eventHubResourceId)
Set the eventHubResourceId property: The resource ID of the event hub to be used to create a data connection.
|
EventHubDataConnection |
withEventSystemProperties(List<String> eventSystemProperties)
Set the eventSystemProperties property: System properties of the event hub.
|
EventHubDataConnection |
withLocation(String location)
Set the location property: Resource location.
|
EventHubDataConnection |
withMappingRuleName(String mappingRuleName)
Set the mappingRuleName property: The mapping rule to be used to ingest the data.
|
EventHubDataConnection |
withTableName(String tableName)
Set the tableName property: The table where the data should be ingested.
|
location, systemData
public EventHubDataConnection withLocation(String location)
withLocation
in class DataConnectionInner
location
- the location value to set.public String eventHubResourceId()
public EventHubDataConnection withEventHubResourceId(String eventHubResourceId)
eventHubResourceId
- the eventHubResourceId value to set.public String consumerGroup()
public EventHubDataConnection withConsumerGroup(String consumerGroup)
consumerGroup
- the consumerGroup value to set.public String tableName()
public EventHubDataConnection withTableName(String tableName)
tableName
- the tableName value to set.public String mappingRuleName()
public EventHubDataConnection withMappingRuleName(String mappingRuleName)
mappingRuleName
- the mappingRuleName value to set.public EventHubDataFormat dataFormat()
public EventHubDataConnection withDataFormat(EventHubDataFormat dataFormat)
dataFormat
- the dataFormat value to set.public List<String> eventSystemProperties()
public EventHubDataConnection withEventSystemProperties(List<String> eventSystemProperties)
eventSystemProperties
- the eventSystemProperties value to set.public Compression compression()
public EventHubDataConnection withCompression(Compression compression)
compression
- the compression value to set.public ResourceProvisioningState provisioningState()
public void validate()
validate
in class DataConnectionInner
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.