Class DestinationMetadata
java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.DestinationMetadata
Destination meta data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the eventHubName property: Optional.void
validate()
Validates the instance.withEventHubName
(String eventHubName) Set the eventHubName property: Optional.
-
Constructor Details
-
DestinationMetadata
public DestinationMetadata()
-
-
Method Details
-
eventHubName
Get the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.- Returns:
- the eventHubName value.
-
withEventHubName
Set the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.- Parameters:
eventHubName
- the eventHubName value to set.- Returns:
- the DestinationMetadata object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-