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

public final class Destination extends Object
Destination properties.
  • Constructor Details

    • Destination

      public Destination()
  • Method Details

    • resourceId

      public String resourceId()
      Get the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.
      Returns:
      the resourceId value.
    • withResourceId

      public Destination withResourceId(String resourceId)
      Set the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the Destination object itself.
    • type

      public Type type()
      Get the type property: The type of the destination resource.
      Returns:
      the type value.
    • 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 Destination 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 Destination object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.