Class EventHubEventSubscriptionDestinationProperties

java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.EventHubEventSubscriptionDestinationProperties

public final class EventHubEventSubscriptionDestinationProperties extends Object
The properties for a event hub destination.
  • Constructor Details

    • EventHubEventSubscriptionDestinationProperties

      public EventHubEventSubscriptionDestinationProperties()
  • 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 EventHubEventSubscriptionDestinationProperties 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 EventHubEventSubscriptionDestinationProperties object itself.
    • deliveryAttributeMappings

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

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

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