Class HybridConnectionEventSubscriptionDestination

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

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

    • HybridConnectionEventSubscriptionDestination

      public HybridConnectionEventSubscriptionDestination()
  • Method Details

    • resourceId

      public String resourceId()
      Get the resourceId property: The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
      Returns:
      the resourceId value.
    • withResourceId

      public HybridConnectionEventSubscriptionDestination withResourceId(String resourceId)
      Set the resourceId property: The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the HybridConnectionEventSubscriptionDestination object itself.
    • deliveryAttributeMappings

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

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

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