Class IotEventHubIngestionEndpointConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.models.IotEventHubIngestionEndpointConfiguration
-
public final class IotEventHubIngestionEndpointConfiguration extends Object
Event Hub ingestion endpoint configuration.
-
-
Constructor Summary
Constructors Constructor Description IotEventHubIngestionEndpointConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
consumerGroup()
Get the consumerGroup property: Consumer group of the event hub to connected to.String
eventHubName()
Get the eventHubName property: Event Hub name to connect to.String
fullyQualifiedEventHubNamespace()
Get the fullyQualifiedEventHubNamespace property: Fully qualified namespace of the Event Hub to connect to.void
validate()
Validates the instance.IotEventHubIngestionEndpointConfiguration
withConsumerGroup(String consumerGroup)
Set the consumerGroup property: Consumer group of the event hub to connected to.IotEventHubIngestionEndpointConfiguration
withEventHubName(String eventHubName)
Set the eventHubName property: Event Hub name to connect to.IotEventHubIngestionEndpointConfiguration
withFullyQualifiedEventHubNamespace(String fullyQualifiedEventHubNamespace)
Set the fullyQualifiedEventHubNamespace property: Fully qualified namespace of the Event Hub to connect to.
-
-
-
Method Detail
-
eventHubName
public String eventHubName()
Get the eventHubName property: Event Hub name to connect to.- Returns:
- the eventHubName value.
-
withEventHubName
public IotEventHubIngestionEndpointConfiguration withEventHubName(String eventHubName)
Set the eventHubName property: Event Hub name to connect to.- Parameters:
eventHubName
- the eventHubName value to set.- Returns:
- the IotEventHubIngestionEndpointConfiguration object itself.
-
consumerGroup
public String consumerGroup()
Get the consumerGroup property: Consumer group of the event hub to connected to.- Returns:
- the consumerGroup value.
-
withConsumerGroup
public IotEventHubIngestionEndpointConfiguration withConsumerGroup(String consumerGroup)
Set the consumerGroup property: Consumer group of the event hub to connected to.- Parameters:
consumerGroup
- the consumerGroup value to set.- Returns:
- the IotEventHubIngestionEndpointConfiguration object itself.
-
fullyQualifiedEventHubNamespace
public String fullyQualifiedEventHubNamespace()
Get the fullyQualifiedEventHubNamespace property: Fully qualified namespace of the Event Hub to connect to.- Returns:
- the fullyQualifiedEventHubNamespace value.
-
withFullyQualifiedEventHubNamespace
public IotEventHubIngestionEndpointConfiguration withFullyQualifiedEventHubNamespace(String fullyQualifiedEventHubNamespace)
Set the fullyQualifiedEventHubNamespace property: Fully qualified namespace of the Event Hub to connect to.- Parameters:
fullyQualifiedEventHubNamespace
- the fullyQualifiedEventHubNamespace value to set.- Returns:
- the IotEventHubIngestionEndpointConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-