Class ServiceBusTopicEventSubscriptionDestinationProperties

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

public final class ServiceBusTopicEventSubscriptionDestinationProperties extends Object
The properties that represent the Service Bus Topic destination of an event subscription.
  • Constructor Details

    • ServiceBusTopicEventSubscriptionDestinationProperties

      public ServiceBusTopicEventSubscriptionDestinationProperties()
  • 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

      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 ServiceBusTopicEventSubscriptionDestinationProperties object itself.
    • deliveryAttributeMappings

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

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

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