Class DestinationMetadata

java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.DestinationMetadata

public final class DestinationMetadata extends Object
Destination meta data.
  • Constructor Details

    • DestinationMetadata

      public DestinationMetadata()
  • Method Details

    • eventHubName

      public String 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

      public DestinationMetadata withEventHubName(String eventHubName)
      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.