Class EventHubEventSubscriptionDestination

java.lang.Object
com.azure.resourcemanager.eventgrid.models.EventSubscriptionDestination
com.azure.resourcemanager.eventgrid.models.EventHubEventSubscriptionDestination

public final class EventHubEventSubscriptionDestination extends EventSubscriptionDestination
Information about the event hub destination for an event subscription.
  • Constructor Details

    • EventHubEventSubscriptionDestination

      public EventHubEventSubscriptionDestination()
  • Method Details

    • resourceId

      public String resourceId()
      Get the resourceId property: The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
      Returns:
      the resourceId value.
    • withResourceId

      public EventHubEventSubscriptionDestination withResourceId(String resourceId)
      Set the resourceId property: The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the EventHubEventSubscriptionDestination object itself.
    • deliveryAttributeMappings

      public List<DeliveryAttributeMapping> deliveryAttributeMappings()
      Get the deliveryAttributeMappings property: Delivery attribute details.
      Returns:
      the deliveryAttributeMappings value.
    • withDeliveryAttributeMappings

      public EventHubEventSubscriptionDestination withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
      Set the deliveryAttributeMappings property: Delivery attribute details.
      Parameters:
      deliveryAttributeMappings - the deliveryAttributeMappings value to set.
      Returns:
      the EventHubEventSubscriptionDestination object itself.
    • validate

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