Class ServiceBusTopicEventSubscriptionDestination

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

public final class ServiceBusTopicEventSubscriptionDestination extends EventSubscriptionDestination
Information about the service bus topic destination for an event subscription.
  • Constructor Details

    • ServiceBusTopicEventSubscriptionDestination

      public ServiceBusTopicEventSubscriptionDestination()
  • Method Details

    • resourceId

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

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

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

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

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