public final class EventHubConnectionProperties extends Object
Constructor and Description |
---|
EventHubConnectionProperties() |
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.
|
EventHubConnectionProperties |
withCompression(Compression compression)
Set the compression property: The event hub messages compression type.
|
EventHubConnectionProperties |
withConsumerGroup(String consumerGroup)
Set the consumerGroup property: The event hub consumer group.
|
EventHubConnectionProperties |
withDataFormat(EventHubDataFormat dataFormat)
Set the dataFormat property: The data format of the message.
|
EventHubConnectionProperties |
withEventHubResourceId(String eventHubResourceId)
Set the eventHubResourceId property: The resource ID of the event hub to be used to create a data connection.
|
EventHubConnectionProperties |
withEventSystemProperties(List<String> eventSystemProperties)
Set the eventSystemProperties property: System properties of the event hub.
|
EventHubConnectionProperties |
withMappingRuleName(String mappingRuleName)
Set the mappingRuleName property: The mapping rule to be used to ingest the data.
|
EventHubConnectionProperties |
withTableName(String tableName)
Set the tableName property: The table where the data should be ingested.
|
public String eventHubResourceId()
public EventHubConnectionProperties withEventHubResourceId(String eventHubResourceId)
eventHubResourceId
- the eventHubResourceId value to set.public String consumerGroup()
public EventHubConnectionProperties withConsumerGroup(String consumerGroup)
consumerGroup
- the consumerGroup value to set.public String tableName()
public EventHubConnectionProperties withTableName(String tableName)
tableName
- the tableName value to set.public String mappingRuleName()
public EventHubConnectionProperties withMappingRuleName(String mappingRuleName)
mappingRuleName
- the mappingRuleName value to set.public EventHubDataFormat dataFormat()
public EventHubConnectionProperties withDataFormat(EventHubDataFormat dataFormat)
dataFormat
- the dataFormat value to set.public List<String> eventSystemProperties()
public EventHubConnectionProperties withEventSystemProperties(List<String> eventSystemProperties)
eventSystemProperties
- the eventSystemProperties value to set.public Compression compression()
public EventHubConnectionProperties withCompression(Compression compression)
compression
- the compression 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.